亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? doc072.htm

?? Reh Hat user manual. really goooood
?? HTM
字號:
<html><body><a href="doc073.html"><img src=../icons/next.gif alt="Next"></a><a href="doc000.html"><img src=../icons/up.gif alt="Up"></a><a href="doc071.html"><img src=../icons/previous.gif alt="Previous"></a><a href="doc000.html"><img src=../icons/contents.gif alt="Contents"></a><a href="doc123.html"><img src=../icons/index.gif alt="Index"></a><hr><h2><a name="s10.3">10.3 Users, Groups and User-Private Groups</a></h2><title>Users, Groups and User-Private Groups</title><p>Managing users and groups has traditionally been tedious.  Red Hat Linuxhas a few tools and conventions that make user and groups easierto manage, and more useful.<p>The easiest way to manage users and groups is through the Users andGroups module of the control-panel (see section <a href="doc057.html#s8">8</a>for details on the control-panel and section <a href="doc058.html#s8.1">8.1</a> fordetails on the Users and Groups module).<p>You can also use <tt>adduser</tt> to create a new user from the command line.<p><h3><a name="s10.3.1">10.3.1 Standard Users</a></h3><title>Standard Users</title><p>Table <a href="doc072.html#f54">54</a> lists the standard users set up by the installationprocess (this is essentially the <tt>/etc/passwd</tt> file).  The group id (GID) in thistable is the <i>primary group</i> for the user.  See section <a href="doc072.html#s10.3.3">10.3.3</a>for details on how groups are used.<p><p><a name="f54"></a><center><table border><tr valign=top><td colspan=1 align=left nowrap><b>User</b> </td><td colspan=1 align=left nowrap> <b>UID</b> </td><td colspan=1 align=left nowrap> <b>GID</b> </td><td colspan=1 align=left nowrap> <b>Home Directory</b> </td><td colspan=1 align=left nowrap> <b>Shell</b> </td></tr><tr valign=top><td colspan=1 align=left nowrap> root </td><td colspan=1 align=left nowrap> 0 </td><td colspan=1 align=left nowrap> 0 </td><td colspan=1 align=left nowrap> /root </td><td colspan=1 align=left nowrap> /bin/bash </td></tr><tr valign=top><td colspan=1 align=left nowrap>bin </td><td colspan=1 align=left nowrap> 1 </td><td colspan=1 align=left nowrap> 1 </td><td colspan=1 align=left nowrap> /bin </td><td colspan=1 align=left nowrap>  </td></tr><tr valign=top><td colspan=1 align=left nowrap>daemon </td><td colspan=1 align=left nowrap> 2 </td><td colspan=1 align=left nowrap> 2 </td><td colspan=1 align=left nowrap>  /sbin </td><td colspan=1 align=left nowrap>  </td></tr><tr valign=top><td colspan=1 align=left nowrap>adm </td><td colspan=1 align=left nowrap> 3 </td><td colspan=1 align=left nowrap> 4 </td><td colspan=1 align=left nowrap>  /var/adm </td><td colspan=1 align=left nowrap>  </td></tr><tr valign=top><td colspan=1 align=left nowrap>lp </td><td colspan=1 align=left nowrap> 4 </td><td colspan=1 align=left nowrap> 7 </td><td colspan=1 align=left nowrap>  /var/spool/lpd </td><td colspan=1 align=left nowrap>  </td></tr><tr valign=top><td colspan=1 align=left nowrap>sync </td><td colspan=1 align=left nowrap> 5 </td><td colspan=1 align=left nowrap> 0 </td><td colspan=1 align=left nowrap>  /sbin </td><td colspan=1 align=left nowrap> /bin/sync </td></tr><tr valign=top><td colspan=1 align=left nowrap>shutdown </td><td colspan=1 align=left nowrap> 6 </td><td colspan=1 align=left nowrap> 0 </td><td colspan=1 align=left nowrap>  /sbin </td><td colspan=1 align=left nowrap> /sbin/shutdown </td></tr><tr valign=top><td colspan=1 align=left nowrap>halt </td><td colspan=1 align=left nowrap> 7 </td><td colspan=1 align=left nowrap> 0  </td><td colspan=1 align=left nowrap> /sbin </td><td colspan=1 align=left nowrap> /sbin/halt </td></tr><tr valign=top><td colspan=1 align=left nowrap>mail </td><td colspan=1 align=left nowrap> 8 </td><td colspan=1 align=left nowrap> 12 </td><td colspan=1 align=left nowrap>  /var/spool/mail </td><td colspan=1 align=left nowrap>  </td></tr><tr valign=top><td colspan=1 align=left nowrap>news </td><td colspan=1 align=left nowrap> 9 </td><td colspan=1 align=left nowrap> 13 </td><td colspan=1 align=left nowrap> /var/spool/news </td><td colspan=1 align=left nowrap>  </td></tr><tr valign=top><td colspan=1 align=left nowrap>uucp </td><td colspan=1 align=left nowrap> 10 </td><td colspan=1 align=left nowrap> 14 </td><td colspan=1 align=left nowrap>  /var/spool/uucp </td><td colspan=1 align=left nowrap>  </td></tr><tr valign=top><td colspan=1 align=left nowrap>operator </td><td colspan=1 align=left nowrap> 11 </td><td colspan=1 align=left nowrap> 0 </td><td colspan=1 align=left nowrap>  /root </td><td colspan=1 align=left nowrap> /bin/bash </td></tr><tr valign=top><td colspan=1 align=left nowrap>games </td><td colspan=1 align=left nowrap> 12 </td><td colspan=1 align=left nowrap> 100 </td><td colspan=1 align=left nowrap>  /usr/local/games </td><td colspan=1 align=left nowrap> </td></tr><tr valign=top><td colspan=1 align=left nowrap>gopher </td><td colspan=1 align=left nowrap> 13 </td><td colspan=1 align=left nowrap> 30 </td><td colspan=1 align=left nowrap>  /usr/lib/gopher-data </td><td colspan=1 align=left nowrap> </td></tr><tr valign=top><td colspan=1 align=left nowrap>ftp </td><td colspan=1 align=left nowrap> 14 </td><td colspan=1 align=left nowrap> 50 </td><td colspan=1 align=left nowrap>  /usr/rhs/ftp </td><td colspan=1 align=left nowrap> </td></tr><tr valign=top><td colspan=1 align=left nowrap>nobody </td><td colspan=1 align=left nowrap> 99 </td><td colspan=1 align=left nowrap> 99 </td><td colspan=1 align=left nowrap>  /root </td><td colspan=1 align=left nowrap> </td></tr></table><p><center>Figure 54:Standard Users</center></center><p><p><h3><a name="s10.3.2">10.3.2 Standard Groups</a></h3><title>Standard Groups</title><p>Table <a href="doc072.html#f55">55</a> lists the standard groups as set upby the installation process (this is essentially the <tt>/etc/group</tt> file).<p><p><a name="f55"></a><center><table border><tr valign=top><td colspan=1 align=left nowrap><b>Group</b> </td><td colspan=1 align=left nowrap> <b>GID</b> </td><td colspan=1 align=left nowrap> <b>Members</b> </td></tr><tr valign=top><td colspan=1 align=left nowrap> root </td><td colspan=1 align=left nowrap> 0 </td><td colspan=1 align=left nowrap> root </td></tr><tr valign=top><td colspan=1 align=left nowrap>bin </td><td colspan=1 align=left nowrap> 1 </td><td colspan=1 align=left nowrap> root,bin,daemon </td></tr><tr valign=top><td colspan=1 align=left nowrap>daemon </td><td colspan=1 align=left nowrap> 2 </td><td colspan=1 align=left nowrap> root,bin,daemon </td></tr><tr valign=top><td colspan=1 align=left nowrap>sys </td><td colspan=1 align=left nowrap> 3 </td><td colspan=1 align=left nowrap> root,bin,adm </td></tr><tr valign=top><td colspan=1 align=left nowrap>adm </td><td colspan=1 align=left nowrap> 4 </td><td colspan=1 align=left nowrap> root,adm,daemon </td></tr><tr valign=top><td colspan=1 align=left nowrap>tty </td><td colspan=1 align=left nowrap> 5 </td><td colspan=1 align=left nowrap>  </td></tr><tr valign=top><td colspan=1 align=left nowrap>disk </td><td colspan=1 align=left nowrap> 6 </td><td colspan=1 align=left nowrap> root </td></tr><tr valign=top><td colspan=1 align=left nowrap>lp </td><td colspan=1 align=left nowrap> 7 </td><td colspan=1 align=left nowrap> daemon,lp </td></tr><tr valign=top><td colspan=1 align=left nowrap>mem </td><td colspan=1 align=left nowrap> 8 </td><td colspan=1 align=left nowrap>  </td></tr><tr valign=top><td colspan=1 align=left nowrap>kmem </td><td colspan=1 align=left nowrap> 9 </td><td colspan=1 align=left nowrap>  </td></tr><tr valign=top><td colspan=1 align=left nowrap>wheel </td><td colspan=1 align=left nowrap> 10 </td><td colspan=1 align=left nowrap> root </td></tr><tr valign=top><td colspan=1 align=left nowrap>mail </td><td colspan=1 align=left nowrap> 12 </td><td colspan=1 align=left nowrap> mail </td></tr><tr valign=top><td colspan=1 align=left nowrap>news </td><td colspan=1 align=left nowrap> 13 </td><td colspan=1 align=left nowrap> news </td></tr><tr valign=top><td colspan=1 align=left nowrap>uucp </td><td colspan=1 align=left nowrap> 14 </td><td colspan=1 align=left nowrap> uucp </td></tr><tr valign=top><td colspan=1 align=left nowrap>man </td><td colspan=1 align=left nowrap> 15 </td><td colspan=1 align=left nowrap>  </td></tr><tr valign=top><td colspan=1 align=left nowrap>games </td><td colspan=1 align=left nowrap> 20 </td><td colspan=1 align=left nowrap>  </td></tr><tr valign=top><td colspan=1 align=left nowrap>gopher </td><td colspan=1 align=left nowrap> 30 </td><td colspan=1 align=left nowrap> </td></tr><tr valign=top><td colspan=1 align=left nowrap>dip </td><td colspan=1 align=left nowrap> 40 </td><td colspan=1 align=left nowrap>  </td></tr><tr valign=top><td colspan=1 align=left nowrap>ftp </td><td colspan=1 align=left nowrap> 50 </td><td colspan=1 align=left nowrap> ftp </td></tr><tr valign=top><td colspan=1 align=left nowrap>nobody </td><td colspan=1 align=left nowrap> 99 </td><td colspan=1 align=left nowrap>  </td></tr><tr valign=top><td colspan=1 align=left nowrap>users </td><td colspan=1 align=left nowrap> 100 </td><td colspan=1 align=left nowrap></td></tr></table><p><center>Figure 55:Standard Groups</center></center><p><p><h3><a name="s10.3.3">10.3.3 User Private Groups</a></h3><title>User Private Groups</title><p>Red Hat Linux uses a user private group (UPG) scheme, which makes UNIXgroups much easier to use.The UPG scheme does not add or change anything in the standardUNIX way of handling groups.  It simply offers a newconvention for handling groups.  Whenever you create a newuser, by default, he or she has a unique group.  The schemeworks as follows:<p><dl><dt><b>User Private Group</b><dd>Each user has it's own primary group, to which only it is a member.<dt><b>umask = 002</b><dd>The traditional UNIX umask is 022, which prevents other users <i>andother members of a user's primary group</i> from modifying a user'sfiles.  Since every user has their own private group in the UPG scheme,this ``group protection'' is not needed.  A umask of 002 will preventusers from modifying other users' private files.  The umask is setin <tt>/etc/profile</tt>.<dt><b>SGID bit on Directories</b><dd>If you set the SGID bit on a directory(with <tt>chmod g+s</tt> <i>directory</i>),files created in that directory will have their group set to thedirectory's group.</dl><p>Most computing sites like to create a group for each majorproject and assign people to the groups they need to be in.Managing files traditionally has been difficult, though,because when someone creates a file it is owned by the primarygroup he or she belongs to.  When a single person works onmultiple projects, it becomes hard to make the files owned bythe group that is associated with that project.  In the UPG scheme,groups are automatically assigned to files on a project-by-project basis, which makes managing group projects very simple.<p>Let's say you have a big project called <em>devel</em>, with many people editing the devel files in a <tt>devel</tt> directory.Make a group called <tt>devel</tt>, <tt>chgrp</tt> the <tt>devel</tt> directory to<tt>devel</tt>, and add the all the devel users to the <tt>devel</tt> group.  Now, all the devel users will be able to editthe devel files and create new files in the <tt>devel</tt> directory, and thesefiles will always retain their <tt>devel</tt> group.  Thus, they willalways be edit-able by other devel users.<p>If you have multiple projects like <em>devel</em>, and users who are workingon multiple projects, these users will never have to change theirumask or group when they move from project to project.  The SGIDbit on each project's main directory ``selects'' the proper group.<p>Since each user's HOME directory is owned by the user and their privategroup, it is safe to set the SGID bit on the HOME directory.  However,by default, files are created with the primary group of the user, sothe SGID bit would be redundant.<p><h4><a name="s10.3.3.1">10.3.3.1 User Private Group Rationale</a></h4><title>User Private Group Rationale</title><p>Since the UPG scheme is new, many people have questions about it,and they wonder why it is necessary.  The following is the rationale forthe scheme.<p><ul><li>You'd like to have a group of people work on a set of filesin say, the <tt>/usr/lib/emacs/site-lisp</tt> directory.  You trust afew people to mess around in there, but certainly not everyone.<li>So you enter:<blockquote><font size=-1><tt><pre>chown -R root.emacs /usr/lib/emacs/site-lisp</pre></tt></font></blockquote>and you add the proper users to the group.<li>To allow the users to actually create files in the directoryyou enter:<blockquote><font size=-1><tt><pre>chmod 775 /usr/lib/emacs/site-lisp</pre></tt></font></blockquote><li>But when a user creates a new file it is assigned thegroup of the users default group (usually <tt>users</tt>).To prevent this you enter<blockquote><font size=-1><tt><pre>chmod 2775 /usr/lib/emacs/site-lisp</pre></tt></font></blockquote>which causes everything in the directory to be created withthe ``emacs'' group.<li>But the new file needs to be mode 664 for anotheruser in the emacs group to be able to edit it.  To do this you makethe default umask 002.<li>Well, this all works fine, except that if your default groupis ``users'', every file you create in your home directory willbe writable by everybody in ``users'' (usually everyone).<li>To fix this, you make each user have a ``private group'' as theirdefault group.</ul><p>At this point, by making the default umask 002 and giving everyonea private default group, you can easily set up groups that userscan take advantage of without doing any magic.  Just create thegroup, add the users, and do the above chown and chmod on thegroup's directories.<p><p><hr><a href="doc073.html"><img src=../icons/next.gif alt="Next"></a><a href="doc000.html"><img src=../icons/up.gif alt="Up"></a><a href="doc071.html"><img src=../icons/previous.gif alt="Previous"></a><a href="doc000.html"><img src=../icons/contents.gif alt="Contents"></a><a href="doc123.html"><img src=../icons/index.gif alt="Index"></a><hr></body></html>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美精品欧美精品系列| 五月天久久比比资源色| 亚洲国产精品嫩草影院| 偷窥少妇高潮呻吟av久久免费| 国产高清精品网站| 26uuu久久天堂性欧美| 青椒成人免费视频| 欧美一区二区三区啪啪| 偷拍日韩校园综合在线| 在线播放/欧美激情| 亚洲精品国产品国语在线app| 成人毛片视频在线观看| 欧美韩日一区二区三区| 国产盗摄一区二区三区| 久久久久久夜精品精品免费| 视频一区欧美精品| 成人国产精品免费| 国产精品久久久久久久久免费相片 | 精品日韩成人av| 日本亚洲天堂网| 日韩视频免费观看高清完整版 | 欧美一区二区在线免费观看| 天堂在线一区二区| 717成人午夜免费福利电影| 亚洲一二三区在线观看| 欧美日韩国产免费一区二区| 日日摸夜夜添夜夜添精品视频| 欧美伦理电影网| 免费成人在线网站| 精品国产三级电影在线观看| 国产不卡视频一区二区三区| 久久精品一区二区| aaa国产一区| 亚洲午夜免费福利视频| 9191久久久久久久久久久| 日本不卡视频一二三区| 精品盗摄一区二区三区| 粉嫩高潮美女一区二区三区| 一区二区三区四区在线播放 | 男男视频亚洲欧美| 欧美电影免费观看高清完整版 | 蜜臀国产一区二区三区在线播放 | 99这里只有久久精品视频| 亚洲视频一二三区| 91成人在线精品| 亚洲一区二区三区在线播放| 日韩午夜在线观看| 懂色一区二区三区免费观看| 一级女性全黄久久生活片免费| 日韩一二在线观看| 成人夜色视频网站在线观看| 亚洲一区二区三区四区五区黄| 日韩精品自拍偷拍| 91女厕偷拍女厕偷拍高清| 裸体歌舞表演一区二区| 精品久久久久香蕉网| 福利一区福利二区| 日韩不卡一区二区| 日韩毛片一二三区| 欧美本精品男人aⅴ天堂| k8久久久一区二区三区| 亚洲sss视频在线视频| 日韩片之四级片| 日本二三区不卡| 国产乱子伦视频一区二区三区| 亚洲美女一区二区三区| 久久亚洲影视婷婷| 欧美亚洲高清一区二区三区不卡| 国产综合一区二区| 亚洲猫色日本管| 久久久美女毛片| 欧美日韩免费在线视频| 美女脱光内衣内裤视频久久影院| 亚洲美女视频在线| 亚洲国产成人午夜在线一区| 欧美日韩国产经典色站一区二区三区| 国产一二精品视频| 午夜精品久久久久久久99樱桃 | 五月激情丁香一区二区三区| 亚洲国产精品t66y| 精品国内二区三区| 欧美偷拍一区二区| 国产乱色国产精品免费视频| 免费在线观看日韩欧美| 一区二区久久久久久| 国产欧美日韩在线观看| 日韩精品一区二区三区蜜臀| 欧美高清性hdvideosex| 欧美综合久久久| 99久久精品免费看| 成人免费av资源| 久久99久久久欧美国产| 亚洲男人的天堂在线观看| 国产视频一区在线播放| 久久亚洲精品国产精品紫薇| 欧美三级电影精品| 91九色02白丝porn| av在线播放一区二区三区| 国产·精品毛片| 精品一区二区三区在线播放视频 | 日本人妖一区二区| 日韩黄色片在线观看| 一区二区激情小说| 亚洲精品伦理在线| 亚洲天堂成人在线观看| 亚洲桃色在线一区| 亚洲精品视频自拍| 一区二区三区欧美日韩| 中文字幕一区二区三区乱码在线| 国产精品色哟哟| 国产亚洲欧美一区在线观看| 欧美激情一区在线| 中文字幕一区二区三区不卡在线| 国产精品久久久久久久久晋中| 精品国产乱码久久| 久久久一区二区三区| 国产精品美女久久久久久2018| 中国av一区二区三区| 26uuu国产一区二区三区| 精品免费99久久| 国产欧美日韩亚州综合| 国产视频一区在线播放| 国产精品久久久久一区| 亚洲精品视频免费看| 亚洲午夜影视影院在线观看| 三级亚洲高清视频| 91麻豆swag| 在线日韩一区二区| 日韩一本二本av| 久久丝袜美腿综合| 国产亚洲一区字幕| 一区二区三区资源| 奇米综合一区二区三区精品视频 | 亚洲精品一线二线三线| 中文字幕成人av| 亚洲一级电影视频| 国产综合久久久久久鬼色| 成人h动漫精品一区二| 欧美日韩中文字幕一区二区| 日韩一区二区精品| 日韩精品在线一区| 精品国产一区二区三区忘忧草| 国产欧美日韩视频在线观看| 亚洲成a人片在线观看中文| 九九视频精品免费| 91在线观看免费视频| 日韩精品在线网站| 亚洲欧美综合色| 免费欧美日韩国产三级电影| 99久久久国产精品| 777xxx欧美| 中文字幕在线不卡一区| 亚洲精品乱码久久久久久久久| 天天综合色天天| www.一区二区| 日韩欧美在线网站| 一区二区在线观看免费| 国产91精品久久久久久久网曝门 | 色综合久久久久综合99| 国产精品每日更新| 粉嫩13p一区二区三区| 国产日韩欧美在线一区| 久久疯狂做爰流白浆xx| 日韩欧美精品在线视频| 麻豆精品在线播放| 日韩欧美久久一区| 精品综合免费视频观看| 精品入口麻豆88视频| 精品在线观看免费| 精品免费日韩av| 国产乱码精品一区二区三区忘忧草| 精品国产91洋老外米糕| 精品一区二区三区在线视频| 久久男人中文字幕资源站| 国产乱子轮精品视频| 国产亚洲精品福利| 成人免费视频app| 亚洲欧洲综合另类| 91传媒视频在线播放| 午夜精品久久久久久久99樱桃| 欧美男女性生活在线直播观看 | 久久99精品久久久| 久久久噜噜噜久久人人看| 成人美女在线观看| 国产精品久久久久久久久搜平片| 91视频www| 亚洲成人午夜影院| 日韩一区二区三区三四区视频在线观看| 日韩精品1区2区3区| 精品精品欲导航| www.欧美亚洲| 亚洲午夜日本在线观看| 欧美电影免费观看高清完整版| 国产成人午夜视频| 亚洲天堂a在线| 欧美一级二级三级乱码| 国产精品一色哟哟哟| 国产精品久久久久久久久免费丝袜| 91福利在线免费观看| 喷白浆一区二区|