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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I was also under the impression user id's are unique.
You can however add your other user to as many groups as possible, in order to simulate the power of root, but if something needs to be really done as root, that user won't be very effectively.
If you just want a cool name for the superuser, change the name root in /etc/passwd /etc/shadow and /etc/group to whatever you want.
When su'ing, you'll need to specify the superuser name though like
normaluser@host $ su supercoolname
ok, i edited the /etc/passwd, by adding
then, i saved it! go back to my terminal
i su root, then, enter password (this is normal). then
i su poweradmin, (something i have seen before), it
shows sh-2.05b#, instead of [root@localhost root].
i tested on here by prompting some commands that need
authentication by root, such as rpm -ivh ***.rpm.
then, it let me thru, meaning that i have a root power, right now!
so, my question is that, if i do something like this, will this be harmful to my system? thanks!
I personally won't do it, if you just want a cool name, just change the name root to something else.
Superuser name doesn't has to be root after all.
In fact speaking in terms of security, it'd be better if it was something else.
Basically its a security issue having another user with the same power as root. If I was you, I would either su to root when needed or setup sudo. But never give or create a user with the same permissions and power. LQ cannot be held responsible for the damage it can cause to your system on any outcome.
Oh and most likely you have a different bash prompt is that its using the default terminal or command prompt. You can edit this by placing a .bashrc file in your poweradmins home directory.
Just because you can install an RPM doesn't mean you have root power. Try editing a file owned by root to see if you can, that is a better test.