LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 07: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, 07:42 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607
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, 08: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, 09:56 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607
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, 09:57 AM   #5
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,231

Rep: Reputation: 2670Reputation: 2670Reputation: 2670Reputation: 2670Reputation: 2670Reputation: 2670Reputation: 2670Reputation: 2670Reputation: 2670Reputation: 2670Reputation: 2670
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, 04: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, 05:03 AM   #7
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607
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, 08:55 PM   #8
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 11,097
Blog Entries: 4

Rep: Reputation: 4087Reputation: 4087Reputation: 4087Reputation: 4087Reputation: 4087Reputation: 4087Reputation: 4087Reputation: 4087Reputation: 4087Reputation: 4087Reputation: 4087
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, 05:57 AM   #9
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,426

Rep: Reputation: 2786Reputation: 2786Reputation: 2786Reputation: 2786Reputation: 2786Reputation: 2786Reputation: 2786Reputation: 2786Reputation: 2786Reputation: 2786Reputation: 2786
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 10:11 PM
Standard commands give "-bash: open: command not found" even in "su -" and "su root" mibo12 Linux - General 4 11-11-2007 11:18 PM
Disabling hardware detection of "reboot" and "power" buttons Sabinou Linux - General 3 08-21-2006 08:03 PM
What "kernel opts" allow PC to power down with "turning energy off"? kornerr Linux - General 1 03-10-2005 01:07 PM
(echo -n "standby" > /sys/power/state) only allowed for root? brynjarh Debian 5 02-14-2005 10:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:55 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
Open Source Consulting | Domain Registration