I am told that the most basic security to set up in Linux is to change the superuser name from root
to something obscure
so I run these steps to add new user
$ /usr/sbin/adduser new_username
$ passwd new_usersname
then went to give ssh access to new user
$ /usr/sbin/visudo
root ALL=(ALL) ALL // didn't modify this
new_username ALL=(ALL) ALL //added this
Now despite the above change, my new user new_username
does not have superuser privileges. I am always forced to change to root using su
use root privileges.
So, what I want is to remove completely the root
account, and give all root's power to my new_user
How do I accomplish this task ?
sudo
safely and effectively. – HalosGhost Jul 24 '14 at 12:11sudo
. – Leiaz Jul 24 '14 at 12:21su
notsudo
. This all makes no sense. Then as mentioned, removing 'root' is a very bad idea. Where are you getting this info? – phemmer Jul 24 '14 at 12:40Forget about this now
DONE! – robue-a7119895 Jul 24 '14 at 15:01