Is the user root home directory needed in linux
Since BSDs don't have a root user home directory, can I safely delete the root home directory in a linux system and will it affect the system? thx
|
Nothing in /root is required to run the system. It is used for root logins, though.
|
Instead of deleting the /root directory, I did remove the root home directory from the /etc/passwd file.
I went from this Quote:
Quote:
So I reverted back to my original /etc/passwd file and rebooted. Everything is back to normal again. "But hey, that's what linux is for. tweaking and testing" But do it in a VM and not on your main system :) |
Quote:
Why would you think it is, or is not, "safe" to remove it? Define "safe" in that context. Do you have any actual reason for wanting to remove the root home directory, or are you mimicking a monkey pushing random buttons? Quote:
Can you drive your car with loose lug nuts? Yes, for a while... but that is not what the car is for. Can your 5 year old drive your car on the freeway? Again, yes, for some indeterminate distance... |
I did read that linux is a hobbyist operating system?
|
I'd say you read wrong, or incompletely, or you have been reading Bill Gates twisted memoirs. ;)
You might want to do a little more reading for a better understanding. |
Quote:
The "/root" directory came about for the purpose of reducing (slightly) the chance of really bad mistakes. It also gives the root login a place to save site local root scripts (cron jobs for instance) and someplace to keep notes about the system. |
Quote:
I don't think this would happen if Linux was just a "hobbyist" Operating System. All this of course doesn't mean that a hobbyist can't install a version of Linux and take it to bits to see what makes it tick. OK, I'm OK, the hackles are going back down now. Maybe if I go and stand in a darkened room for a while... ;) Play Bonny! :hattip: |
Quote:
Under the GPL, you are free to tweak and even break your personal Linux install any way you want, but to call Linux a "hobbyist" OS is not quite accurate. |
The important question is, why do you want to remove that directory? astrogeek asked that question, but you did not answer it. I, for one, am curious to know the answer.
|
All times are GMT -5. The time now is 05:07 PM. |