Password change from NT apparently solved
Paulo Afonso Graner Fessel
pafessel at netsol.com.br
Tue Jul 20 10:54:46 GMT 1999
Hi, guys.
I've found a way (at least in RedHat) to bypass the normal password chat
sequence. I've done this using a RedHat utility called chpasswd. According
to the man page:
-------------------------------------------------------------
NAME
chpasswd - update password file in batch
SYNOPSIS
chpasswd [-e]
DESCRIPTION
chpasswd reads a file of user name and password pairs from standard
input and uses this information to update a group of existing
users. Without the -e switch, the passwords are expected to be
cleartext. With the -e switch, the passwords are expected to be in
encrypted form. Each line is of the format
user_name:password
The named user must exist. The supplied password will be encrypted
as necessary, and the password age updated, if present.
This command is intended to be used in a large system environment
where many accounts are created at a single time.
CAVEATS
The input file must be protected if it contains unencrypted pass-
words.
SEE ALSO
passwd(1), useradd(8), newusers(8)
AUTHOR
Julianne Frances Haugh (jfh at tab.com)
----------------------------------------------------------------------
I've used for "passwd program" the following line:
/bin/echo %u:%n | /usr/sbin/chpasswd
and for "password chat", I've just used ".". Seems to work to me. For the
first time, I've been able to change my NT password without problems! I'd
like you that have RH to test this workaround to see if it works in
general.
Paulo Fessel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pafessel.vcf
Type: text/x-vcard
Size: 848 bytes
Desc: Card for Paulo Afonso Graner Fessel
Url : http://lists.samba.org/archive/samba-ntdom/attachments/19990720/ce95bfc5/pafessel.vcf
More information about the samba-ntdom
mailing list