LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   adding root permisions to regualr user (https://www.linuxquestions.org/questions/linux-newbie-8/adding-root-permisions-to-regualr-user-247737/)

paul62 10-26-2004 10:42 PM

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.

wolfe2554 10-26-2004 10:52 PM

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.

paul62 10-27-2004 07:16 AM

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.

Baldrick65 10-27-2004 07:26 AM

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

Tinkster 10-27-2004 12:49 PM

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

snatale1 10-27-2004 12:54 PM

BAD MOVE! you'll learn like the rest..Sorry :(

Basslord1124 10-27-2004 01:10 PM

Just "su" as said already....much quicker to do.


All times are GMT -5. The time now is 07:12 PM.