-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 27 November 2003 09:42, Grosswiler Roger wrote: > smbpasswd?? here we are... [agreen@fastcat agreen]$ smbpasswd -h 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 [agreen@fastcat agreen]$ man smbpasswd SMBPASSWD(8) SMBPASSWD(8) NAME smbpasswd - change a userâs SMB password SYNOPSIS smbpasswd [-a] [-x] [-d] [-e] [-D debuglevel] [-n] [-r <remote machine>] [-R <name resolve order>] [ - -m] [-U username[%password]] [-h] [-s] [-w pass] [-i] [-L] [username] DESCRIPTION This tool is part of the Samba(7) suite. The smbpasswd program has several different functions, depending on whether it is run by the root user or not. When run as a normal user it allows the user to change the password used for their SMB sessions on any machines that store SMB passwords. By default (when run with no arguments) it will attempt to change the current userâs SMB password on the local machine. This is similar to the way the passwd(1) program works. smbpasswd differs from how the passwd program works however in that it is not setuid root but works in a client-server mode and communicates with a locally running smbd(8). As a consequence in order for this to succeed the smbd daemon must be running on the local machine. On a UNIX machine the encrypted SMB pass- words are usually stored in the smbpasswd(5) file. When run by an ordinary user with no options, smbpasswd will prompt them for their old SMB password and then ask them for their new pass- word twice, to ensure that the new password was typed correctly. No passwords will be echoed on the screen whilst being typed. If you have a blank SMB password (specified by the string "NO PASSWORD" in the smb- passwd file) then just press the <Enter> key when asked for your old password. smbpasswd can also be used by a normal user to change their SMB pass- word on remote machines, such as Windows NT Primary Domain Controllers. See the (-r) and -U options below. When run by root, smbpasswd allows new users to be added and deleted in the smbpasswd file, as well as allows changes to the attributes of the user in this file to be made. When run by root, smbpasswd accesses the local smbpasswd file directly, thus enabling changes to be made even if smbd is not running. .............. - -Andy -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/xcj7jKeDCxMJCTIRAhsKAJ4wP0s1bBNPt0bTnkFN+aA8WcEiDACdFpwv bjxyC/9TcjXDSnMOkSV/8lk= =f75v -----END PGP SIGNATURE-----