|
发表于 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]#
|
|