[Samba] can i change the pwd bby parameter with pdbedit?

2005-10-28 Thread Rodrigo De la Pena

hello, 

i need to change the password of my users using an script, not by
prompt, but y tried the pdbedit and smbpasswd commands and didn't work,
they prompt for password, is there a flag or something to set the
password in the command to avoid the prompt? i read man pages of these
commands and there are nothing to do what i need.


thank you



-- 
Rodrigo De la Peña
Soporte Corporativo
Calipso Comunicaciones

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] can i change the pwd bby parameter with pdbedit?

2005-10-28 Thread Jonas Jochum
Am Friday 28 October 2005 17:40 schrieb Rodrigo De la Pena:
 i need to change the password of my users using an script, not by
 prompt, but y tried the pdbedit and smbpasswd commands and didn't work,
 they prompt for password, is there a flag or something to set the
 password in the command to avoid the prompt? i read man pages of these
 commands and there are nothing to do what i need.

[EMAIL PROTECTED]:~$ smbpasswd -h
When run by root:
smbpasswd [options] [username]
otherwise:
smbpasswd [options]

options:
  -L   local mode (must be first option)
  -h   print this usage message
  -s   use stdin for password prompt

 that's the option you want to use...
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba