public inbox for gentoo-catalyst@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-catalyst] Root user's home directory
@ 2005-12-07 19:22 Ted Kosan
  2005-12-07 19:58 ` Chris Gianelloni
  0 siblings, 1 reply; 2+ messages in thread
From: Ted Kosan @ 2005-12-07 19:22 UTC (permalink / raw
  To: gentoo-catalyst

Hello,

First off, earlier in the week I moved my LiveCD builds over to Catalyst2 rc5
and so far I have not run into any problems during the build process.

Now for my question.  After my LiveCD boots the root user's HOME environment
variable is set to "/".  The /etc/passed file shows root's HOME to be /root and
if I ssh into the machine the remote shell shows root's HOME to be /root.

Does anyone have some thoughts on how I can adjust my catalyst configuration to
have the LiveCD boot with the root user's HOME environment variable set to
"/root"?

Thanks in advance :-)

Ted
-- 
gentoo-catalyst@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-catalyst] Root user's home directory
  2005-12-07 19:22 [gentoo-catalyst] Root user's home directory Ted Kosan
@ 2005-12-07 19:58 ` Chris Gianelloni
  0 siblings, 0 replies; 2+ messages in thread
From: Chris Gianelloni @ 2005-12-07 19:58 UTC (permalink / raw
  To: gentoo-catalyst

[-- Attachment #1: Type: text/plain, Size: 1094 bytes --]

On Wed, 2005-12-07 at 11:22 -0800, Ted Kosan wrote:
> Hello,
> 
> First off, earlier in the week I moved my LiveCD builds over to Catalyst2 rc5
> and so far I have not run into any problems during the build process.
> 
> Now for my question.  After my LiveCD boots the root user's HOME environment
> variable is set to "/".  The /etc/passed file shows root's HOME to be /root and
> if I ssh into the machine the remote shell shows root's HOME to be /root.
> 
> Does anyone have some thoughts on how I can adjust my catalyst configuration to
> have the LiveCD boot with the root user's HOME environment variable set to
> "/root"?
> 
> Thanks in advance :-)

That's a side-effect of using bashlogin.  The easiest solution is to set
a root password in your fsscript and not use bashlogin/pwgen, but rather
stick with agetty.  This will, of course, require changes to the
livecd-functions.sh script from livecd-tools, so that's a bit more for
your fsscript.

-- 
Chris Gianelloni
Release Engineering - Strategic Lead
x86 Architecture Team
Games - Developer
Gentoo Linux

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-12-07 20:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-07 19:22 [gentoo-catalyst] Root user's home directory Ted Kosan
2005-12-07 19:58 ` Chris Gianelloni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox