[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] scripting passwd change
- Subject: [ale] scripting passwd change
- From: pynk at angband.org (Ben Phillips)
- Date: Tue, 22 Aug 2000 15:07:24 -0400 (EDT)
Say I want to change my own password from a script. Is there any way to
make /usr/bin/passwd cooperate with this? I can make a file like:
oldone
newone
newone
...and if I run 'passwd < myfile' it somehow knows I'm doing this and
rebels ("error changing password"). How do I bend it to my will?
__ _ "I hate to advocate drugs,
Ben Phillips / '_' ) ,,, alcohol, violence or
pynk at post.com | | ()|||||||||[:::) insanity, but they've
\__.-._) ''' always worked for me."
-- Hunter S. Thompson
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.