1 |
On Wed, 2005-12-07 at 11:22 -0800, Ted Kosan wrote: |
2 |
> Hello, |
3 |
> |
4 |
> First off, earlier in the week I moved my LiveCD builds over to Catalyst2 rc5 |
5 |
> and so far I have not run into any problems during the build process. |
6 |
> |
7 |
> Now for my question. After my LiveCD boots the root user's HOME environment |
8 |
> variable is set to "/". The /etc/passed file shows root's HOME to be /root and |
9 |
> if I ssh into the machine the remote shell shows root's HOME to be /root. |
10 |
> |
11 |
> Does anyone have some thoughts on how I can adjust my catalyst configuration to |
12 |
> have the LiveCD boot with the root user's HOME environment variable set to |
13 |
> "/root"? |
14 |
> |
15 |
> Thanks in advance :-) |
16 |
|
17 |
That's a side-effect of using bashlogin. The easiest solution is to set |
18 |
a root password in your fsscript and not use bashlogin/pwgen, but rather |
19 |
stick with agetty. This will, of course, require changes to the |
20 |
livecd-functions.sh script from livecd-tools, so that's a bit more for |
21 |
your fsscript. |
22 |
|
23 |
-- |
24 |
Chris Gianelloni |
25 |
Release Engineering - Strategic Lead |
26 |
x86 Architecture Team |
27 |
Games - Developer |
28 |
Gentoo Linux |