Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
03-29-2014, 07:21 AM
|
#1
|
LQ Newbie
Registered: Mar 2014
Posts: 21
Rep: 
|
whether "0" having power or "root" having power in linux.
Dear Friends
As per my knowledge linux machine will work according to "user id".So that only the system assign "0" to the "root" default.In case if i add one user named rhel and i changed the rhel's "user id" and "group id" as "0" and 50x for "Root" by editing /etc/passwd file.Will it give any problem in future,is this recommended or what.
|
|
|
03-29-2014, 07:42 AM
|
#2
|
Moderator
Registered: May 2001
Posts: 29,415
|
Quote:
Originally Posted by vikilinux
As per my knowledge linux machine will work according to "user id".So that only the system assign "0" to the "root" default.In case if i add one user named rhel and i changed the rhel's "user id" and "group id" as "0" and 50x for "Root" by editing /etc/passwd file.Will it give any problem in future,is this recommended or what.
|
Since you are " new to linux platform" as you wrote, you should not do this as 0) it is not standard behaviour (remember root is not a human user) and 1) no other account requires root rights (and if it does see sudo) and 2) because you completely left out the reason for wanting this in the first place. In short: there is no, and you do not have a, valid reason for wanting this.
|
|
|
03-29-2014, 08:30 AM
|
#3
|
LQ Newbie
Registered: Mar 2014
Posts: 21
Original Poster
Rep: 
|
ok thank u friend.
So what it means "Super user".Is that root itself Super user?? or can we create a normal user as Super user.
if it is possible pls explain me the steps.
|
|
|
03-29-2014, 09:56 AM
|
#4
|
Moderator
Registered: May 2001
Posts: 29,415
|
Quote:
Originally Posted by vikilinux
So what it means "Super user".Is that root itself Super user?? or
|
Root is the "super user", yes.
Quote:
Originally Posted by vikilinux
can we create a normal user as Super user.
|
Yes.
Quote:
Originally Posted by vikilinux
if it is possible pls explain me the steps.
|
You do not require another root user.
Cease pursuing this idea.
It is wrong.
|
|
1 members found this post helpful.
|
03-29-2014, 09:57 AM
|
#5
|
LQ Guru
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,231
|
Quote:
So what it means "Super user".Is that root itself Super user?
|
The terms above are generally used interchangeably. Some distributions don't require a super user (root) but have the primary user created during installation given 'root' privileges. Depends upon the distribution of Linux you are using which you neglected to mention.
|
|
|
03-30-2014, 04:55 AM
|
#6
|
LQ Newbie
Registered: Mar 2014
Posts: 21
Original Poster
Rep: 
|
Dear friends
Thanks for all of you.
now i understand about root user.
I need this type of support forever.
|
|
|
03-30-2014, 05:03 AM
|
#7
|
Moderator
Registered: May 2001
Posts: 29,415
|
Quote:
Originally Posted by vikilinux
I need this type of support forever.
|
No you don't ;-p You need to read and practice, all there's to it.
|
|
|
03-30-2014, 08:55 PM
|
#8
|
LQ Guru
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 11,097
|
The key to "rootly ability" is not that your user-name is root, but that your numeric uuid is zero.
However, do bear in mind that the authentication / authorization systems within Linux (and, other systems ...) have grown very-considerably since the days of the PDP-7. You can now, for example, exercise very fine-grained control over authentication by looking into PAM = Pluggable Authentication Modules. You can specify fine-grained file access control with ACL = Access Control Lists. And you can carry everything many steps above this with SELinux = Security-Enhanced Linux (brought to you in part by #CLASSIFIED#).
|
|
|
04-01-2014, 05:57 AM
|
#9
|
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,426
|
Just because the first (non-root) user in some distros are given unlimited rootly powers doesn't mean there is no root acct in /etc/passwd or that there aren't any files owned by uid 0 ...
|
|
|
All times are GMT -5. The time now is 06:55 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|