samba的用户管理问题?

由 antelope 在 12-06-2003 19:53 发表:

samba的用户管理问题?

我用的是fedora,

发现smbadduser没有了,那么fedora中应该怎样管理用户?/etc/samba/smbusers怎样维护?

这是fedora的特例,还是所有版本都去掉了smbadduser?


这家伙很懒,什么都没留下!


由 北南南北 在 12-07-2003 14:28 发表:


http://www.linuxsir.org/bbs/showthr...;threadid=17805

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

看这里

http://www.linuxsir.org/bbs/showthr...;threadid=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

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus