1 |
Kessler, Paul wrote: |
2 |
> Is there a simple way to set the root password from within the fsscript |
3 |
> that doesn’t require the use of expect? A friend of mine that builds |
4 |
> clusters for IBM gave me the following, he uses it in his kickstarts but |
5 |
> this doesn’t work for me. |
6 |
> |
7 |
> echo “password” | /usr/bin/passwd --stdin administrator |
8 |
> |
9 |
> passwd takes the --s from stdin to mean the shell flag, and well that’s |
10 |
> sort of unfriendly if you know what I mean. Any suggestions? |
11 |
|
12 |
`man chpasswd` |
13 |
|
14 |
-- |
15 |
Andrew Gaffney http://dev.gentoo.org/~agaffney/ |
16 |
Gentoo Linux Developer Installer Project |
17 |
|
18 |
-- |
19 |
gentoo-catalyst@g.o mailing list |