LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices


Reply
  Search this Thread
Old 08-11-2005, 06:28 PM   #1
newusermike
Member
 
Registered: Jul 2005
Posts: 38

Rep: Reputation: 15
changing a users rights


sorry but here is another ridiculous question.

In f4 can someone tell me how to take a user and change his permission to root.
I tried changing the etc/passwd and his group from 500 to 501 but on reboot it gives an error on the xml %gconf.

I guess I'm trying it the old way.
 
Old 08-11-2005, 08:34 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 122Reputation: 122
You need to make his uid 0. Of course, then he'll lose ownership of all files, and most likely (with a good config) be unable to login to the GUI.
 
Old 08-11-2005, 09:23 PM   #3
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,275

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
And in general it's not a good idea to do day to day work as the superuser. You should use sudo oand/r su to give a user account access to root privs when needed.
 
  


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
Insufficient rights when adding users aaron_chen Linux - Security 5 06-10-2005 12:29 AM
Giving users more rights (Admin) FatSteve Linux - Security 7 11-19-2003 07:37 AM
Expanding rights for users? Megamieuwsel Linux - General 5 09-21-2003 12:09 AM
Set rights to a file for different users? Scratchmaster Linux - Security 2 04-30-2002 04:31 PM
cp and changing rights bluecadet Linux - General 2 01-20-2002 08:14 AM


All times are GMT -5. The time now is 04:31 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration