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?

Derek Atkins wrote:
> 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)

The "--stdin" option didn't work under Debian, but the passwd _did_ take 
when I used the command with no options, e.g.,

(echo new_pass; echo new_pass) | passwd my_users_name



E. William Horne
William Warren Consulting
Computer & Network Installations, Security, and Service

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 /