Gentoo Archives: gentoo-catalyst

From: Chris Gianelloni <wolf31o2@g.o>
To: gentoo-catalyst@l.g.o
Subject: Re: [gentoo-catalyst] Assign the user password
Date: Wed, 23 Aug 2006 12:22:47
Message-Id: 1156335559.20023.0.camel@vertigo.twi-31o2.org
In Reply to: Re: [gentoo-catalyst] Assign the user password by Luca Casagrande
1 On Tue, 2006-08-22 at 20:39 +0200, Luca Casagrande wrote:
2 > Alle 18:50, martedì 22 agosto 2006, Chris Gianelloni ha scritto:
3 > > On Tue, 2006-08-22 at 17:01 +0200, Luca Casagrande wrote:
4 > > > Now that much of the problem are solved, I am wondering if there's a way
5 > > > for setting the password of the user described in livecd-stage2.spec. I
6 > > > used to chroot in it and use passwd, but i wonder if there's a way to do
7 > > > it with catalyst.
8 > >
9 > > There's no method on catalyst. The simple answer is to do it in your
10 > > fsscript, along with any other adjustments you need to make.
11 >
12 > Thx for your answer Chris...I have read a lot doc about bash, but i don't
13 > understand how set the password of the user.
14 > Can you post me an example?
15
16 I just use sed to insert the password hash manually. I don't know of a
17 decent commandline tool for changing the password non-interactively.
18
19 --
20 Chris Gianelloni
21 Release Engineering - Strategic Lead
22 x86 Architecture Team
23 Games - Developer
24 Gentoo Linux

Attachments

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