LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-30-2006, 11:11 PM   #1
winxandlinx
Member
 
Registered: May 2006
Posts: 141

Rep: Reputation: 15
Root Permission to user ???


Hi Everyone

i am using redhat 9 ,i have to create

the username and the i have to five the root

permission to the particular user ,how to do that

Helping this issue will be greatly appriciated

Thanks & Regards
Thualsi
 
Old 10-31-2006, 12:35 AM   #2
greeklegend
Member
 
Registered: Feb 2006
Location: At a computer
Distribution: Ubuntu 7.04, LFS 6.3 rc1 (living dangerously ;), Windows XP
Posts: 75

Rep: Reputation: 15
Hmm...
I'm not going to try this on my system, but can you just delete the root account and give your new one a UID and GID of 0?
 
Old 10-31-2006, 02:37 AM   #3
winxandlinx
Member
 
Registered: May 2006
Posts: 141

Original Poster
Rep: Reputation: 15
ya thanks for the reply

but i dont want to delete the root account

i want create the new user account and then i have give

root permission for that account

please tell me syntax for that
 
Old 10-31-2006, 02:43 AM   #4
fatra2
Member
 
Registered: Feb 2004
Location: Switzerland
Distribution: Fedora - RedHat - Mandrake - OpenSuse
Posts: 216

Rep: Reputation: 35
You might run into alot of trouble doing that.

The best solution is to create a normal user and log as the superuser.

This way, you should avoid giving a bad command to your system.
 
Old 10-31-2006, 07:16 AM   #5
Quigi
Member
 
Registered: Mar 2003
Location: Cambridge, MA, USA
Distribution: Ubuntu (Dapper and Heron)
Posts: 377

Rep: Reputation: 31
Quote:
Originally Posted by winxandlinx
i have to create
the username and the i have to five the root
permission to the particular user
Why do you have to do this? What are you trying to achieve?

Maybe sudo is all you need.

I don't recommend it, but you can have more than one user name with user id 0 in /etc/password. I've tried it and it works. Not sure what the ramifications are.
 
Old 10-31-2006, 07:26 AM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Moved: This thread is more suitable in Linux General and has been moved accordingly to help your thread/question get the exposure it deserves.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Permission denied for root user shujja Linux - Newbie 9 10-28-2014 08:32 PM
whatever a non-root user does, he gets 'permission denied'. boazg Linux - Software 2 08-05-2005 08:17 AM
How can give ROOT permission to a NORMAL USER bipinkdas Linux - Software 2 06-23-2005 11:03 PM
permission problem - root is the only user which can login hitman_et Linux - Newbie 6 04-03-2005 10:12 AM
root user doesnt have permission caged Mandriva 2 05-18-2004 01:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:59 AM.

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