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 |