[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: Wed, 23 Aug 2000 15:31:47 -0400 (EDT)
On Tue, 22 Aug 2000, Eric Z. Ayers wrote:
> The version of passwd that comes with Red hat 6.2 has a little feature
> called '--stdin' that can help you script a password change.
Yes! Is it not nifty? Unfortunately, I'm making a program that will act as
a login shell for windows/mac users, allowing them to change the samba,
netatalk, and system passwords to the same thing in one fell swoop. I've
got a perl script that attempts this, but the system() calls are run with
the EUID of the user, even if the perl script is setuid root. So
unfortunately I can't use this, unless there's a way to let a user truly run
passwd as root.
__ _ "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.