LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1628|回复: 1

samba的用户管理问题?

[复制链接]
发表于 2003-12-6 19:53:42 | 显示全部楼层 |阅读模式
我用的是fedora,
发现smbadduser没有了,那么fedora中应该怎样管理用户?/etc/samba/smbusers怎样维护?
这是fedora的特例,还是所有版本都去掉了smbadduser?
发表于 2003-12-7 14:28:06 | 显示全部楼层
http://www.linuxsir.cn/forum.php?mod=viewthread&tid=17805

其实samba是调用的是系统存在的帐号。不用这个命令也一样。

看这里

http://www.linuxsir.cn/forum.php?mod=viewthread&tid=17805



[root@beinan backup]# smbpasswd --help
smbpasswd: invalid option -- -
When run by root:
    smbpasswd [options] [username] [password]
otherwise:
    smbpasswd [options] [password]

options:
  -L                   local mode (must be first option)
  -h                   print this usage message
  -s                   use stdin for password prompt
  -c smb.conf file     Use the given path to the smb.conf file
  -D LEVEL             debug level
  -r MACHINE           remote machine
  -U USER              remote username
extra options when run by root or in local mode:
  -a                   add user
  -d                   disable user
  -e                   enable user
  -i                   interdomain trust account
  -m                   machine trust account
  -n                   set no password
  -w PASSWORD          ldap admin password
  -x                   delete user
  -R ORDER             name resolve order
[root@beinan backup]#

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表