Gentoo Archives: gentoo-catalyst

From: "Kessler
To: gentoo-catalyst@l.g.o
Subject: RE: [gentoo-catalyst] Passwords
Date: Tue, 20 Sep 2005 13:53:18
Message-Id: D130CB2CC962DD439C21FF1B23A2BD772B24CC@county.co.wabasha.mn.us
1 That narrowed it right down.
2
3 -----Original Message-----
4 From: Chris Gianelloni [mailto:wolf31o2@g.o]
5 Sent: Tuesday, September 20, 2005 8:41 AM
6 To: gentoo-catalyst@l.g.o
7 Subject: Re: [gentoo-catalyst] Passwords
8
9 On Tue, 2005-09-20 at 08:31 -0500, Kessler, Paul wrote:
10 > Is there a simple way to set the root password from within the
11 > fsscript that doesn't require the use of expect? A friend of mine that
12 > builds clusters for IBM gave me the following, he uses it in his
13 > kickstarts but this doesn't work for me.
14 >
15 >
16 >
17 > echo "password" | /usr/bin/passwd --stdin administrator
18 >
19 >
20 >
21 > passwd takes the --s from stdin to mean the shell flag, and well
22 > that's sort of unfriendly if you know what I mean. Any suggestions?
23
24 Use sed...
25
26 --
27 Chris Gianelloni
28 Release Engineering - Strategic Lead
29 Games - Developer
30 Gentoo Linux
31
32 --
33 gentoo-catalyst@g.o mailing list