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