Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
You can that's not a problem, the problem is you shouldn't. And no, you shouldn't make another user in group root either, that's nearly as bad of an idea as changing root's name. If you want to login with a username, create a user. If you are frustrated because that user cannot do everything root can, realize how secure you are now.
I read somewhere that having another root user is a good idea, since if you use that user and you see something running as 'root' then you can almost be sure it's a hacking attempt. Any truth to that?
Originally posted by Wynd I read somewhere that having another root user is a good idea, since if you use that user and you see something running as 'root' then you can almost be sure it's a hacking attempt. Any truth to that?
No, because you should very well know exactly what you are doing when you are root to be able to decipher between your task (maybe user management) and something completely different (such as fdisk or sendmail). You can always view who's logged in:
w
Or
who
And you can see who you are:
whoami
However, if this is a non-production machine, non-networked and you are just "learning" on it, then that's a good way to "learn". Breaking things always teaches you exactly what not to do
I learned the hard way on a Tomsrtbt Linux disk that it was a bad idea to change the root password by editing the files. It knocked the Root completely out and I had to make another disk. I suggest you heed these warnings or you will likely find Linux unuseable to you (IE you will be locked out).
I'm not sure what else you really need to know? You can change the users password with root with:
bash#: passwd username
And it will prompt you for a new password for the user.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.