## page was renamed from UbuntuTips/Others/UbuntuFilesystem/Etc ## URLに使われるページ名はアルファベット(WikiName形式)を用いる ## 以下のタイトルを内容に沿ったものに変更する #title /etc ディレクトリの構成 ## 「6.06 Dapper Drake」といった形式で箇条書きにする ## バージョン非依存のTipの場合は「すべて」と記述 * '''対象とするUbuntuのバージョン''' * すべて ## 以下にTipsを記述 システム全体の設定ファイルがあります。 ||<>|| == X11/ == GUIを司るXに関する設定が含まれています。 X:: -> /usr/bin/Xorg Xresources/:: Xsession:: Xsession.d/:: Xsession.otions:: app-defaults:: fonts/:: rgb.txt:: 参照: [[http://ja.wikipedia.org/wiki/X11%E3%81%AE%E8%89%B2%E5%90%8D%E7%A7%B0|wikipedia:X11の色名称]] ## http://manpages.ubuntu.com/manpages/intrepid/man7/X.7.html sessions/:: GDM のセッションファイル(`.desktop`)です。(参考: [[http://library.gnome.org/admin/gdm/2.30/configuration.html.en#sessionconfig|GDM Session Configuration -GDM Reference Manual]]) xinit/:: xkb/:: xorg.conf:: == alternative/ == 同種のコマンドを切り替え使うために使われます。(参照:[[http://qref.sourceforge.net/quick/ch-package.ja.html#s-alternatives|Debian リファレンス]]) == anacrontab == == apparmor.d/ == !AppArmor のプロファイル等があります。 abstractions/:: (参考: [[https://apparmor.wiki.kernel.org/index.php/Policy_Layout#.24.7BAPPARMOR.D.7D.2Fabstraction.2F|apparmorwiki:Policy_Layout#abstractions]]) tunables/:: (参考: [[https://apparmor.wiki.kernel.org/index.php/Policy_Layout#.24.7BAPPARMOR.D.7D.2Ftunables.2F|apparmorwiki:Policy_Layout#tunables]]) == apt/ == apt-conf.d:: preferences:: http://www.debian.org/doc/manuals/apt-howto/ch-apt-get.ja.html#s-pin source.list:: [[http://www.debian.org/doc/manuals/apt-howto/ch-basico.ja.html#s-sources.list|APT HOWTO 第 2 章 - 基本的な設定]] を参照してください。 source.list.d/:: == bash.bashrc == /etc/profile により環境変数 `$BASH` が存在するとき実行される。(参考: [[file:///etc/profile|/etc/profile]]) == crontab == == cron.allow == (参考: https://help.ubuntu.com/community/CronHowto) == cron.deny == == cron.d/ == == default/ == locale:: システム標準の言語 (参照: /etc/init/gdm.conf) '''対象とするGrubのバージョン''' * 1.97~BETA grub:: [[http://rionaoki.net/misc/ubuntu/grub-2-basics|Grub 2 入門]]を参照 == environment == == fonts/ == fonts.avail/:: fonts.d/:: (参考: [[file:///etc/fonts/conf.d/README|./README]]) fonts.conf:: local.conf:: (参考: [[file:///etc/fonts/fonts.d/50-local.conf|./fonts.d/50-local.conf]]) == fstab == (システム起動時などに)マウントするデバイスに関する設定をします。内容については[[http://www.linux.or.jp/JM/html/util-linux/man5/fstab.5.html|こちら]]をご参考下さい。端末で {{{ man fstab }}} でも表示されます。各ファイルシステムについてのオプションについては {{{ man mount }}} でも表示されます。 == gdm == Init/:: PostLogin/:: PostSession/:: PreSession/:: Xsession:: * http://library.gnome.org/admin/gdm/2.30/configuration.html.en == grub.d/ == '''対象とするGrubのバージョン''' - 1.97~BETA {{{$ sudo grub-mkconfig -o /boot/grub/grub.cfg=$ sudo update-grub}}} が実行された時に {{{/boot/grub/grub.cfg}}} を作成するためのシェルスクリプトが置かれています。 == group == グループ名、パスワード (`x` の場合はシャドウパスワード)、GID、グループのメンバーが書かれています。(参照: [[http://manpages.ubuntu.com/cgi-bin/search.py?q=group|man:group]], [[http://www.linux.or.jp/JM/html/LDP_man-pages/man5/group.5.html|man-ja:group(5)]]) 手動で編集する際は `vigr` を使ってください (参照: [[http://manpages.ubuntu.com/cgi-bin/search.py?q=vigr|man:vigr]], [[http://www.linux.or.jp/JM/html/shadow/man8/vigr.8.html|man-ja:vigr(8)]]) == gshadow == `/etc/group` の shadow です。グループのパスワードのハッシュ値が格納されています。(参照: [[http://manpages.ubuntu.com/cgi-bin/search.py?q=gshadow|man:gshadow]]) 手動で編集する際は `vigr -s` を使ってください。(参照: [[http://manpages.ubuntu.com/cgi-bin/search.py?q=vigr|man:vigr]], [[http://www.linux.or.jp/JM/html/shadow/man8/vigr.8.html|man-ja:vigr(8)]]) == hosts == == hostname == (参照: /etc/init/hostname.conf) == init.d/ == rc スクリプトがあります。 rc:: skeleton:: == init/ == [[http://upstart.ubuntu.com/|Upstart]] の [[http://upstart.ubuntu.com/getting-started.html|ジョブ定義ファイル]](`*.conf`) があります。 ctontrol-alt-delete.conf:: Ctrl-Alt-Del を押した時の挙動の設定 (参照 [[UbuntuTips/Others/DisableCtrlAltDelRebooting]]) rc.conf:: == issue == * [[http://www.atmarkit.co.jp/flinux/rensai/linuxtips/081msgblogin.html|ログイン前にメッセージを表示するには - Linux Tips]] == ld.so.conf == == ld.so.conf.d == == modules == (参照: /etc/init/module-init-tools.conf) == opt/ == `/opt`内のプログラム用の設定ファイルディレクトリです。 == pam.conf == PAM (Pluggable Authentication Modules) の設定ファイルです。/etc/pam.d/ が存在する場合は使われません。(参照: [[http://manpages.ubuntu.com/cgi-bin/search.py?q=PAM|man:PAM]], [[http://manpages.ubuntu.com/cgi-bin/search.py?q=pam.conf|man:pam.conf]]) == pam.d/ == PAM (Pluggable Authentication Modules) の設定ファイルディレクトリです。(参照: [[http://manpages.ubuntu.com/cgi-bin/search.py?q=PAM|man:PAM]], [http://manpages.ubuntu.com/cgi-bin/search.py?q=pam.d man:pam.d) == passwd == ユーザー名、パスワード (`x` の場合はシャドウパスワード)、UID、GID、コメント (本名)、ホームディレクトリ、デフォルトシェルが書かれています。(参照: [[http://manpages.ubuntu.com/cgi-bin/search.py?q=passwd|man:passwd]], [[http://www.linux.or.jp/JM/html/shadow/man5/passwd.5.html|man-ja:passwd(5)]] )手動で編集する際は `vipw` を使ってください (参照: [[http://manpages.ubuntu.com/cgi-bin/search.py?q=vipw|man:vipw]], [[http://www.linux.or.jp/JM/html/shadow/man8/vipw.8.html|man-ja:vipw(8)]]) == profile == == profile.d/ == 参照: /etc/profile == rc[0-6S].d == == rsyslog.conf == == service == == shadow == `/etc/passwd` の shadow です。ユーザのパスワードのハッシュ値が格納されています。(参照: [[http://manpages.ubuntu.com/cgi-bin/search.py?q=shadow|man:shadow]], [[http://www.linux.or.jp/JM/html/shadow/man5/shadow.5.html|man-ja:shadow]]) 手動で編集する際は `vipw -s` を使ってください。(参照: [[http://manpages.ubuntu.com/cgi-bin/search.py?q=vipw|man:vipw]], [[http://www.linux.or.jp/JM/html/shadow/man8/vipw.8.html|man-ja:vipw(8)]]) == skel/ == 新しいユーザを作ったときにホームディレクトリにコピーされます。 == sudoers == [[UbuntuTips/Others/RootSudo|sudo]] を実行できるユーザーのリストです。 == udev/ == == xdg/ == autostart/:: menus/:: * applications.menu - http://standards.freedesktop.org/menu-spec/menu-spec-1.0.html#paths * applications-merged/ - http://standards.freedesktop.org/menu-spec/menu-spec-1.0.html#paths user-dirs.conf:: 参照: http://freedesktop.org/wiki/Software/xdg-user-dirs