Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Changing root password?

Scott Ehrlich <srehrlich-Re5JQEeQqe8AvxtiuMwx3w at> writes:

> I do NOT want to prompted for verification of the new password, which
> is now Windows' net user option works.   net user account_of_person
> new_password (all in clear text) and the password is changed, no
> verification of new password.
> My goal is to NOT be prompted for verification of the new password.
> Just type it once and it takes.  Maybe I should have stated that
> earlier.

Try this (as root):
(echo new_pass; echo new_pass) | passwd --stdin user

see passwd(1)

> Thanks.
> Scott


       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL:    PP-ASEL-IA     N1NWH
       warlord-DPNOqEs/LNQ at                        PGP key available

BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!

Boston Linux & Unix /