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:43:50
Message-Id: 1127227325.26305.8.camel@cgianelloni.nuvox.net
In Reply to: RE: [gentoo-catalyst] Passwords by "Kessler
1 On Tue, 2005-09-20 at 09:38 -0500, Kessler, Paul wrote:
2 > Some of the network analysis tools that I need require root to operate,
3 > especially if you are dealing with raw sockets.
4
5 Is "sudo su -" not good enough?
6
7 > -----Original Message-----
8 > From: Chris Gianelloni [mailto:wolf31o2@g.o]
9 > Sent: Tuesday, September 20, 2005 9:20 AM
10 > To: gentoo-catalyst@l.g.o
11 > Subject: Re: [gentoo-catalyst] Passwords
12 >
13 > On Tue, 2005-09-20 at 08:59 -0500, Andrew Gaffney wrote:
14 > > Kessler, Paul wrote:
15 > > > Is there a simple way to set the root password from within the
16 > fsscript
17 > > > that doesn't require the use of expect? A friend of mine that builds
18 >
19 > > > clusters for IBM gave me the following, he uses it in his kickstarts
20 > but
21 > > > this doesn't work for me.
22 > > >
23 > > > echo "password" | /usr/bin/passwd --stdin administrator
24 > > >
25 > > > passwd takes the --s from stdin to mean the shell flag, and well
26 > that's
27 > > > sort of unfriendly if you know what I mean. Any suggestions?
28 > >
29 > > `man chpasswd`
30 >
31 > Even better... ;]
32 >
33 > I figure you're making a system with a preset root password, whereas
34 > we're trying to make a CD with scrambled passwords, for security
35 > reasons.
36
37 --
38 Chris Gianelloni
39 Release Engineering - Strategic Lead
40 Games - Developer
41 Gentoo Linux

Attachments

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