/etc/group 與 /etc/password 的問題 - Linux
By Jake
at 2010-05-27T18:55
at 2010-05-27T18:55
Table of Contents
想問一下關於 /etc/group/ 跟 /etc/password/ 的兩個問題(觀念)
1. 當一個群組為某一使用者的初始群組時,在/etc/group該群組的第四個欄位並
不會顯示該使用者的帳號名稱嗎?
例如 /etc/password 內容為
A98F::8011:105:A98F:/home/brain:/usr/bin/cs
A98Z::8012:105:A98Z:/home/brain:/usr/bin/cs
A98D::8013:105:A98D:/home/brain:/usr/bin/cs
而 /etc/group 內容為
zobol:*:105:15151
是否表示使用者A98F, A98Z, A98D與15151皆為包含在群組105內。
2. 若/etc/group/內容如上所示,若我將使用者15151自系統內刪除,則/etc/group
內容是否會自動更新為 zobol:*:105: 呢?
--
1. 當一個群組為某一使用者的初始群組時,在/etc/group該群組的第四個欄位並
不會顯示該使用者的帳號名稱嗎?
例如 /etc/password 內容為
A98F::8011:105:A98F:/home/brain:/usr/bin/cs
A98Z::8012:105:A98Z:/home/brain:/usr/bin/cs
A98D::8013:105:A98D:/home/brain:/usr/bin/cs
而 /etc/group 內容為
zobol:*:105:15151
是否表示使用者A98F, A98Z, A98D與15151皆為包含在群組105內。
2. 若/etc/group/內容如上所示,若我將使用者15151自系統內刪除,則/etc/group
內容是否會自動更新為 zobol:*:105: 呢?
--
Tags:
Linux
All Comments
By Eden
at 2010-05-31T10:25
at 2010-05-31T10:25
By Cara
at 2010-06-04T08:01
at 2010-06-04T08:01
Related Posts
vnc 自動登出的問題
By Catherine
at 2010-05-27T15:32
at 2010-05-27T15:32
X window 黑屏
By James
at 2010-05-27T15:31
at 2010-05-27T15:31
linux 的獲利模式是什麼
By Charlotte
at 2010-05-26T21:36
at 2010-05-26T21:36
Google Chrome stable
By Lucy
at 2010-05-26T21:10
at 2010-05-26T21:10
linux 的獲利模式是什麼
By Tristan Cohan
at 2010-05-26T20:42
at 2010-05-26T20:42