Still cannot move root user to home partition

Mika,
The symlink idea below actaully does not work:
http://article.gmane.org/gmane.linux.distributions.grml.user/161
Tested under 0.8 final.
M

On Sat, 26 Aug 2006 16:43:36 -0700, Mark wrote:
Mika,
The symlink idea below actaully does not work:
http://article.gmane.org/gmane.linux.distributions.grml.user/161
Tested under 0.8 final.
hmm... what is not working?
My /root is linked to /home/root/. I'm using grml 0.7...
tong

* Mark 27e3kk302@sneakemail.com [20060827 02:15]:
The symlink idea below actaully does not work:
http://article.gmane.org/gmane.linux.distributions.grml.user/161
Tested under 0.8 final.
Please provide the commands you are using to use $HOME of user root on /home.
regards, -mika-

Please provide the commands you are using
Exactly the commands you gave (link).
Steps:
0. boot live CD 1. run grml2hd to usb drive with mbr 2. reboot to usb drive, login as root 3. make changes you gave: cp -a /root /home/ mv /root /root.old ln -s /home/root /root 4. reboot to usb drive again
M

On Sun, 27 Aug 2006 14:14:17 -0700, Mark wrote:
Please provide the commands you are using
Exactly the commands you gave (link).
Steps:
- boot live CD
- run grml2hd to usb drive with mbr
- reboot to usb drive,
Interesting. I run grml2hd too, but to HD.
login as root 3. make changes you gave: cp -a /root /home/ mv /root /root.old ln -s /home/root /root 4. reboot to usb drive again
Does it affect root user only? How about other users who don't use symlinks? Is you /home on the same volume as your root file system (/)?
tong

Does it affect root user only? How about other users who don't use symlinks? Is you /home on the same volume as your root file system (/)?
The test was root user only with home on a separate partition.
The symlink idea was only a hack from mika, so I don't want to spend more time on it. The real bug is that user management commands fail for the most important user.
That effort may be more for Debian than grml, I don't know. But it should be fixed.
M

* Mark 27e3kk302@sneakemail.com [20060829 07:15]:
Does it affect root user only? How about other users who don't use symlinks? Is you /home on the same volume as your root file system (/)?
The test was root user only with home on a separate partition.
The symlink idea was only a hack from mika, so I don't want to spend more time on it. The real bug is that user management commands fail for the most important user.
That effort may be more for Debian than grml, I don't know. But it should be fixed.
Once again: please list the "user management commands" that "fail for the most important user" - otherwise I can't reproduce it in my own, sorry.
regards, -mika-

Once again: please list the "user management commands" that "fail for the most important user" - otherwise I can't reproduce it in my own, sorry.
regards, -mika-
Just search through my old messages on the subject: useradd, userdel, usermod, adduser, etc. It is a whole class of commands.
Debian actually has two tiers of account commands, where one is considered "low-level" and one "high level." That's why it has both "adduser" and "useradd"... for some reason.
Thank you mika for being the best.
M
participants (3)
-
Mark
-
Michael Prokop
-
T