andres101
Expert Member
I've been a Linux user for years and I never log in to a window manager using the root account.
However, when I ssh into a machine, I normally want to do admin that requires root privileges, so I normally log in as my user and sudo su root, so that I don't have to sudo... the whole time.
Last night I ssh'd into my HTPC and long story short, I deleted everything in /etc older than 30 days... which is basically everything! Even my passwd file is gone! Backups? What backups?
Luckily I'm running Gentoo so as soon as I get my toolchain back up, I should be able to get most of the files replaced. Currently cross-compiling gcc and glibc...
Now that I've had my first big root oops, I will never log in as root again.
However, when I ssh into a machine, I normally want to do admin that requires root privileges, so I normally log in as my user and sudo su root, so that I don't have to sudo... the whole time.
Last night I ssh'd into my HTPC and long story short, I deleted everything in /etc older than 30 days... which is basically everything! Even my passwd file is gone! Backups? What backups?
Luckily I'm running Gentoo so as soon as I get my toolchain back up, I should be able to get most of the files replaced. Currently cross-compiling gcc and glibc...
Now that I've had my first big root oops, I will never log in as root again.
Last edited: