Gentoo Archives: gentoo-catalyst

From: Andrew Gaffney <agaffney@g.o>
To: gentoo-catalyst@l.g.o
Subject: Re: [gentoo-catalyst] Passwords
Date: Tue, 20 Sep 2005 14:02:44
Message-Id: 433015AF.4080305@gentoo.org
In Reply to: [gentoo-catalyst] Passwords by "Kessler
1 Kessler, Paul wrote:
2 > Is there a simple way to set the root password from within the fsscript
3 > that doesn’t require the use of expect? A friend of mine that builds
4 > clusters for IBM gave me the following, he uses it in his kickstarts but
5 > this doesn’t work for me.
6 >
7 > echo “password” | /usr/bin/passwd --stdin administrator
8 >
9 > passwd takes the --s from stdin to mean the shell flag, and well that’s
10 > sort of unfriendly if you know what I mean. Any suggestions?
11
12 `man chpasswd`
13
14 --
15 Andrew Gaffney http://dev.gentoo.org/~agaffney/
16 Gentoo Linux Developer Installer Project
17
18 --
19 gentoo-catalyst@g.o mailing list

Replies

Subject Author
Re: [gentoo-catalyst] Passwords Chris Gianelloni <wolf31o2@g.o>