Gentoo Archives: gentoo-catalyst

From: Chris Gianelloni <wolf31o2@g.o>
To: gentoo-catalyst@l.g.o
Subject: Re: [gentoo-catalyst] Passwords
Date: Tue, 20 Sep 2005 14:21:43
Message-Id: 1127225994.26305.6.camel@cgianelloni.nuvox.net
In Reply to: Re: [gentoo-catalyst] Passwords by Andrew Gaffney
1 On Tue, 2005-09-20 at 08:59 -0500, Andrew Gaffney wrote:
2 > Kessler, Paul wrote:
3 > > Is there a simple way to set the root password from within the fsscript
4 > > that doesn’t require the use of expect? A friend of mine that builds
5 > > clusters for IBM gave me the following, he uses it in his kickstarts but
6 > > this doesn’t work for me.
7 > >
8 > > echo “password” | /usr/bin/passwd --stdin administrator
9 > >
10 > > passwd takes the --s from stdin to mean the shell flag, and well that’s
11 > > sort of unfriendly if you know what I mean. Any suggestions?
12 >
13 > `man chpasswd`
14
15 Even better... ;]
16
17 I figure you're making a system with a preset root password, whereas
18 we're trying to make a CD with scrambled passwords, for security
19 reasons.
20
21 --
22 Chris Gianelloni
23 Release Engineering - Strategic Lead
24 Games - Developer
25 Gentoo Linux

Attachments

File name MIME type
signature.asc application/pgp-signature