LinuxQuestions.org
Register a domain and help support LQ
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 10-26-2004, 11:42 PM   #1
paul62
Member
 
Registered: Mar 2004
Location: glenview illinois
Distribution: fedora core 7
Posts: 458

Rep: Reputation: 30
adding root permisions to regualr user


I have one regular user account set up on my slackware 10.0 and one root account, is there any way I can set the regular user's account up so that it has full root access? I would appreciate the help.
 
Old 10-26-2004, 11:52 PM   #2
wolfe2554
Member
 
Registered: Apr 2003
Location: denver co
Distribution: redhat9
Posts: 156

Rep: Reputation: 30
couple of real easy ways. #1 change user id of user to root. in your /etc/passwd file edit the line that says
thenewrootuser:x:501:500:thenewrootuser auric :/home/thenewrootuser:/bin/bash

edit the first 501 and the second 501 to say 0.
this makes the user root. But the bigger question is why. Root is all powerfull and should not be taken in vain. It is highly recommended that you do not make a second root or use the root user as a regular user as you can do major damage to your system without even trying, as most programs and the system in linux is not designed for use as root. There are NO SAFEGUARDS! try su ing into root when needed and not more. It may seem totaly werid but you must realize that linux will not stop you from deleteing files that you need to run in root. It will not stop you from changing your inode table. ROOT IS ALL POWERFULL> THIS IS YOUR WARNING; YOU WILL CAUSE DAMAGE TO YOUR SYSTEM AS ROOT WITHOUT CAREFULL ATTENTION PAID TO YOUR ACTIONS. I speak from experince as I wiped my kernel as root when as a normal user it would not be possible.
But do what you want you have been warned.
 
Old 10-27-2004, 08:16 AM   #3
paul62
Member
 
Registered: Mar 2004
Location: glenview illinois
Distribution: fedora core 7
Posts: 458

Original Poster
Rep: Reputation: 30
When I am trying to use winesetuptk I am trying to setup wine I have to rung it as a regular user ,but I am getting a message that i do not have enough permisssions to change directory to fat-c,which is a directory on my system. I need full root access but logged in a s regular user because winesetuptk will not run in root, the way I am reading you reply is that I will be getting another root account is that correct? I am not sure that changing the id of th user to root is going to solve this problem but I am going to try it anyway.
 
Old 10-27-2004, 08:26 AM   #4
Baldrick65
Member
 
Registered: Aug 2003
Location: Dunedin NZ
Distribution: Mint 13 Cinnamon
Posts: 653

Rep: Reputation: 31
You only need to "su" to root in a console, run winesetuptk to set everything up and then exit. No need to be in full-blown root-mode.

Baldrick
 
Old 10-27-2004, 01:49 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Quote:
Originally posted by paul62
When I am trying to use winesetuptk I am trying to setup wine I have to rung it as a regular user ,but I am getting a message that i do not have enough permisssions to change directory to fat-c,which is a directory on my system. I need full root access but logged in a s regular user because winesetuptk will not run in root, the way I am reading you reply is that I will be getting another root account is that correct? I am not sure that changing the id of th user to root is going to solve this problem but I am going to try it anyway.
You only need to change the entry in
/etc/fstab to allow normal users access
to that device... becoming root (specially
in a manner that general) is one of the
most stupid possible ideas in a Unix
environment ...


Cheers,
Tink
 
Old 10-27-2004, 01:54 PM   #6
snatale1
Member
 
Registered: Aug 2003
Location: Richmond, Virginia, US
Distribution: Mint 17.2
Posts: 415

Rep: Reputation: 32
BAD MOVE! you'll learn like the rest..Sorry
 
Old 10-27-2004, 02:10 PM   #7
Basslord1124
Member
 
Registered: Jun 2004
Location: Ashland, KY
Distribution: Debian, Puppy/Slacko
Posts: 351

Rep: Reputation: 31
Just "su" as said already....much quicker to do.
 
  


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
security> adding user or root to a group eeried Linux - Newbie 6 08-08-2008 06:10 AM
Apache user permisions klemen Linux - Networking 3 02-17-2005 02:13 AM
adding commands to /bin (root user) xone Linux - Software 4 03-23-2004 01:26 PM
Slack9 User Permisions g452 Linux - Newbie 10 10-04-2003 11:34 AM
Adding user account to root group konabumm Linux - Newbie 1 07-31-2003 04:11 PM


All times are GMT -5. The time now is 10:34 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