Changing the default shell in casper
This actually answers my next question, too: How do I cause casper to
automatically log in as root, not as the automatically created user.
Turns out that if you set username=root in LIVE_BOOTAPPEND, there will
be no additional user created *and* root gets logged in automatically
- which I consider to be preferable for a rescue CD (which is what I'm
trying to create).
Thank you very much,
On Thu, Mar 29, 2007 at 09:40:58AM +0100, Alex Owen wrote:
> I hev not looked at the code for a bit but my memeory tells me that if
> there is already an /etc/passwd line then the boot-time user creation
> is skipped.
> On 29/03/07, Juergen Fiedler <firstname.lastname@example.org> wrote:
> >Would anyone happen to know how I can change the default shell for the
> >user that is automatically created by casper? I would really like to
> >use zsh, but can't figure out how to accomplish that.
> >I tried adding a custom /etc/default/useradd to the chroot; it is
> >on the live system, but casper doesn't seem to be using useradd.
> >A custom /etc/passwd would be pointless as well, being that the user
> >is apparently created during boot time. The casper documentation isn't
> >very helpful when it comes to that, either. Has anyone ever tried this
> >Any help will be much appreciated.
> > ~Juergen
> >-----BEGIN PGP SIGNATURE-----
> >Version: GnuPG v1.4.1 (GNU/Linux)
> >-----END PGP SIGNATURE-----
> >Debian-live-devel mailing list
> Debian-live-devel mailing list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/debian-live-devel/attachments/20070402/0ff1b0db/attachment.pgp