国产成人精品久久免费动漫-国产成人精品天堂-国产成人精品区在线观看-国产成人精品日本-a级毛片无码免费真人-a级毛片毛片免费观看久潮喷

您的位置:首頁技術(shù)文章
文章詳情頁

Centos下添加用戶到用戶組

瀏覽:29日期:2024-07-10 14:45:07

將一個(gè)用戶添加到用戶組中,千萬不能直接用:usermod -G groupA

這樣做會使你離開其他用戶組,僅僅做為 這個(gè)用戶組 groupA 的成員。應(yīng)該用 加上 -a 選項(xiàng):usermod -a -G groupA user

(FC4: usermod -G groupA,groupB,groupC user)-a 代表 append, 也就是 將自己添加到 用戶組groupA 中,而不必離開 其他用戶組。

命令的所有的選項(xiàng),及其含義:Options:-c, --comment COMMENT new value of the GECOS field-d, --home HOME_DIR new home directory for the user account-e, --expiredate EXPIRE_DATE set account expiration date to EXPIRE_DATE-f, --inactive INACTIVE set password inactive after expirationto INACTIVE-g, --gid GROUP force use GROUP as new primary group-G, --groups GROUPS new list of supplementary GROUPS-a, --append append the user to the supplemental GROUPSmentioned by the -G option without removinghim/her from other groups-h, --help display this help message and exit-l, --login NEW_LOGIN new value of the login name-L, --lock lock the user account-m, --move-home move contents of the home directory to the newlocation (use only with -d)-o, --non-unique allow using duplicate (non-unique) UID-p, --password PASSWORD use encrypted password for the new password-s, --shell SHELL new login shell for the user account-u, --uid UID new UID for the user account-U, --unlock unlock the user account

查看用戶所屬的組使用命令:$ groups user

或者查看文件:$ cat /etc/group

標(biāo)簽: CentOS
相關(guān)文章:
主站蜘蛛池模板: 一级v片| 日日噜噜噜夜夜爽爽狠狠69 | 在线播放亚洲视频 | 在线观看 国产 | 久久精品国产精品亚洲毛片 | 亚洲欧美日韩国产 | 欧美xo影院 | 欧美日韩精品一区二区三区高清视频 | 日本aaaa级| 黄网国产| 亚洲一区在线视频观看 | 国产在播放一区 | 97在线观看成人免费视频 | 日本成本人视频 | 欧美亚洲网站 | 日本免费a级片 | 一区二区三区免费视频播放器 | 国产成人免费网站在线观看 | 久久99久久99精品免观看 | 自拍偷拍亚洲区 | 久久网在线 | 九色porny真实丨国产18 | 毛片一级在线观看 | 中文字幕乱码无线码在线 | 久久www视频 | 国产精品免费视频一区 | 日韩精品视频美在线精品视频 | 亚洲另类激情综合偷自拍图 | 国产一久久香蕉国产线看观看 | 国产99久久 | 久草国产在线播放 | 免费高清欧美一区二区视频 | 欧美成人午夜毛片免费影院 | 国产一级视频免费 | 国产成人三级经典中文 | 怡红院成人网 | 正在播放国产乱子伦视频 | 亚洲国产一区二区三区综合片 | 特黄特黄一级高清免费大片 | 亚洲男人的天堂在线观看 | 国内精品久久久久久中文字幕 |