Good Day all I have a quick question regarding the use of the flag --random-password. When i do a command like: samba-tool user add pippo --random-password ; as root, I'd like to see what is the newly generated random password, and then communicate that to the user , but the output of that command does not show anything... any help? :) thanks ___________________________________________________________________________________________ Mario Pio Russo, System Admin SWG IT Services Dublin, Phone & FAX: +353 1 815 2236, eMail: mariopiorusso at ie.ibm.com IBM Ireland Product Distribution Limited registered in Ireland with number 92815. Registered Office: IBM House, Shelbourne Road, Ballsbridge, Dublin 4 (Embedded image moved to file: pic05259.gif)
On 09/04/15 15:14, Mario Pio Russo wrote:> Good Day all > > I have a quick question regarding the use of the flag --random-password. > When i do a command like: > > samba-tool user add pippo --random-password ; > > as root, I'd like to see what is the newly generated random password, and > then communicate that to the user , but the output of that command does not > show anything... > > any help? :) > >The whole idea of --random-password is to create a random password for users that *don't* really need a password i.e. system services If you want random passwords for users, then either use one of the many password generators you can find on the internet, or write your own script. Rowland
Apparently Analagous Threads
- Samba 4 , ful list of LDAP-style attributes
- Samba 4 , ful list of LDAP-style attributes
- Samba 4 - disabling SSLv3 to mitigate POODLE effects
- Smba 4, looking for a command to show the password expiration date
- Samba 4 - disabling SSLv3 to mitigate POODLE effects