免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 861 | 回复: 0

RHCE 笔记 [复制链接]

论坛徽章:
3
2015亚冠之布里斯班狮吼
日期:2015-08-18 11:02:10操作系统版块每日发帖之星
日期:2015-08-21 06:20:00数据库技术版块每日发帖之星
日期:2015-09-06 06:20:00
发表于 2008-06-05 11:44 |显示全部楼层

               
                                                                                        User Management1.usermod    -a             Add the user to the supplemental group(s). Use only with -G option.
    -c                 change the comment field.
    -d               change the home directory.
    -e                set date on which the account will expire and will be disabled.
    -g               change the initial login group. The group name must exist.
    -G              A list of supplementary groups which the user is also a
                   member of  Each group is separated from the next by a comma, with no intervening whitespace. The groups are subject to the  same.    -l                change the login name
    -u               change the login uid,This field must be unique.Unless use -o                   option.Any files which the user owns and which are located in                   the directory tree rooted at the user’s home directory will                   have the file user ID changedautomatically.Files outside of the                  user’s home directory must be altered manually.    -p                change the string in the password field.This must be the                  encrypted password.
    -L                lock the password.This renders the account unusable.
    -U               unlock the password.
    -s               change the login shell.   
               
               
               
               
               
               
               
               
               
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/47864/showart_726667.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP