You are not logged in.
Pages: 1
I am going to use LVM and LUKS + dm-crypt. I will encrypt:
swap
/home
/tmp
/srv
maybe /var
I am thinking about /root - is it OK to set root's home to /home/root ? I know reasons why root home is not usually in /home/root, but for my workstation it seems to me like reasonable choice which spares me one more LVM volume. But I am not sure if I can do this same way as with usual user, maybe root's home location can not be moved that easily.
Last edited by stabele (2009-03-23 21:02:45)
Offline
It's a bad idea to move it.
[git] | [AURpkgs] | [arch-games]
Offline
Why? AFAIK the only reason for /root outside /home is situation when you can not mount /home. I can live with this, seems to me not so important at laptop workstation - if things go to banana I will boot from rescue CD/USB.
I am asking if there is any other reason and/or technical obstacle to have root's home in /home/root ?
Offline
the other reason is chrooting /home
Offline
Directly - none that I know of, but ....
There may be scores of programs that rely on /root - so yes, I think it would be a bad idea to remove /root alltogether.
Offline
No problem.
A program that expect to have root home dir in /root is bad.
By the way: FHS (Filesystem Hierarchy Standard) establish that /root are optional, but is recomended default location.
Then set to /home/root and do a symlink (optional) in your /
One warning, if you have already configs files on /root, but is /home/root is created from zero, don't problem.
Offline
Thanks for advices, i will use /home/root + symlink as safety measure
Last edited by stabele (2009-03-23 14:34:17)
Offline
Ranguvar is right.
/root is on / because, when your partitions fill up, you'll still be able to log in as root but not as a regular user to /home.
Frankly, why would you want to 'improve' a system that has been tried times and again? This scheme - with minor adaptations - has been around for decades. Do you really think this hasn't been thought through?
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
The reason I wrote in first post
I know reasons why root home is not usually in /home/root, but for my workstation it seems to me like reasonable choice which spares me one more LVM volume.
I will use ext3 or ext4 which reserves space for root. I am not going against standards (thanks for them!), i am just using flexibility permitted by them - as djgera pointed out, /root it recommended but not required by FHS. I would never do this at shared computer or production server, I am open to reasons why it is bad idea but as of now I see none in my particular case.
Last edited by stabele (2009-03-23 15:05:29)
Offline
Pages: 1