当前位置: > Ubuntu >

ubuntu 添加ftp用户,及权限管理

时间:2016-05-26 13:35来源:linux.it.net.cn 作者:IT
用户
useradd ftp    添加用户ftp
userdel ftp     删除用户ftp
passwd root   设置/更改用户root   密码
passwd [options] [LOGIN]
Options:
  -a, --all                     report password status on all accounts
  -d, --delete                  delete the password for the named account
  -e, --expire                  force expire the password for the named account
  -h, --help                    display this help message and exit
  -k, --keep-tokens             change password only if expired
  -i, --inactive INACTIVE       set password inactive after expiration to INACTIVE
  -l, --lock                    lock the password of the named account
  -n, --mindays MIN_DAYS        set minimum number of days before password change to MIN_DAYS
  -q, --quiet                   quiet mode
  -r, --repository REPOSITORY   change password in REPOSITORY repository
  -S, --status                  report password status on the named account
  -u, --unlock                  unlock the password of the named account
  -w, --warndays WARN_DAYS      set expiration warning days to WARN_DAYS
  -x, --maxdays MAX_DAYS        set maximum number of days before passwordchange to MAX_DAYS
用户组

用户权限
chmod 777 filename  更改目录/文件操作权限
chown              更改目录/文件所有权




(责任编辑:IT)
------分隔线----------------------------
栏目列表
推荐内容