LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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

Reply
 
Search this Thread
Old 03-29-2014, 06:21 AM   #1
vikilinux
LQ Newbie
 
Registered: Mar 2014
Posts: 21

Rep: Reputation: Disabled
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.
 
Old 03-29-2014, 06:42 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 28,274
Blog Entries: 54

Rep: Reputation: 3174Reputation: 3174Reputation: 3174Reputation: 3174Reputation: 3174Reputation: 3174Reputation: 3174Reputation: 3174Reputation: 3174Reputation: 3174Reputation: 3174
Quote:
Originally Posted by vikilinux View Post
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.
 
Old 03-29-2014, 07:30 AM   #3
vikilinux
LQ Newbie
 
Registered: Mar 2014
Posts: 21

Original Poster
Rep: Reputation: Disabled
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.
 
Old 03-29-2014, 08:56 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 28,274
Blog Entries: 54

Rep: Reputation: 3174Reputation: 3174Reputation: 3174Reputation: 3174Reputation: 3174Reputation: 3174Reputation: 3174Reputation: 3174Reputation: 3174Reputation: 3174Reputation: 3174
Quote:
Originally Posted by vikilinux View Post
So what it means "Super user".Is that root itself Super user?? or
Root is the "super user", yes.


Quote:
Originally Posted by vikilinux View Post
can we create a normal user as Super user.
Yes.


Quote:
Originally Posted by vikilinux View Post
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.
Old 03-29-2014, 08:57 AM   #5
yancek
Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 5,380

Rep: Reputation: 864Reputation: 864Reputation: 864Reputation: 864Reputation: 864Reputation: 864Reputation: 864
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.
 
Old 03-30-2014, 03:55 AM   #6
vikilinux
LQ Newbie
 
Registered: Mar 2014
Posts: 21

Original Poster
Rep: Reputation: Disabled
Dear friends

Thanks for all of you.
now i understand about root user.

I need this type of support forever.
 
Old 03-30-2014, 04:03 AM   #7
unSpawn
Moderator
 
Registered: May 2001
Posts: 28,274
Blog Entries: 54

Rep: Reputation: 3174Reputation: 3174Reputation: 3174Reputation: 3174Reputation: 3174Reputation: 3174Reputation: 3174Reputation: 3174Reputation: 3174Reputation: 3174Reputation: 3174
Quote:
Originally Posted by vikilinux View Post
I need this type of support forever.
No you don't ;-p You need to read and practice, all there's to it.
 
Old 03-30-2014, 07:55 PM   #8
sundialsvcs
Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 5,602

Rep: Reputation: 1252Reputation: 1252Reputation: 1252Reputation: 1252Reputation: 1252Reputation: 1252Reputation: 1252Reputation: 1252Reputation: 1252
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#).
 
Old 04-01-2014, 04:57 AM   #9
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.6, Centos 5.10
Posts: 16,401

Rep: Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081
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 ...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Which "power distro" for lots of customizing and good system power management? mothergoose729 Linux - Distributions 11 11-18-2009 09:11 PM
Standard commands give "-bash: open: command not found" even in "su -" and "su root" mibo12 Linux - General 4 11-11-2007 10:18 PM
Disabling hardware detection of "reboot" and "power" buttons Sabinou Linux - General 3 08-21-2006 07:03 PM
What "kernel opts" allow PC to power down with "turning energy off"? kornerr Linux - General 1 03-10-2005 12:07 PM
(echo -n "standby" > /sys/power/state) only allowed for root? brynjarh Debian 5 02-14-2005 09:08 AM


All times are GMT -5. The time now is 03:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration