LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   User secruity (https://www.linuxquestions.org/questions/linux-newbie-8/user-secruity-318656/)

CrimsonSparc 04-30-2005 03:24 AM

User secruity
 
Hello,

I'm using a different user name (other than root) and I seem to be limited in the things I can do. Is there a way I could give my user "Power User" type access? I know I can use "SU" but I rather have a different method.


[info]
RedHat Enterprise 4.0 WS
Kernel 2.6.9

Poetics 04-30-2005 03:32 AM

That's pretty generic -- what are you thinking, "other methods?"
Search here or Google regarding "sudo" -- may be what you want.

reddazz 04-30-2005 04:19 AM

Re: User secruity
 
Quote:

Originally posted by CrimsonSparc
Hello,

I'm using a different user name (other than root) and I seem to be limited in the things I can do. Is there a way I could give my user "Power User" type access? I know I can use "SU" but I rather have a different method.


[info]
RedHat Enterprise 4.0 WS
Kernel 2.6.9

unix/linux was designed this way for security reasons. Using su is probably the best thing to do when you need to do sys admin as root. Sudo, as suggested above, is good if you want your user to run some commands as root.

CrimsonSparc 05-01-2005 09:17 PM

What I'm trying to do is get it to where I create/delete files and folders in my partions. I always need to sign into root to do something like that. I can't even run certain screensavers because of the fact I'm not root. I don't mind using SU or being root to install a prog but I don't want to use SU or root whenever I want to see a screensaver.

ethics 05-01-2005 09:22 PM

i'm no expert but can't you make whatever file you're trying to run owned by you with

chown user file? (do as root)

or change it's permissions to be read/write/executeby you/your group with chmod ?

reddazz 05-01-2005 10:13 PM

Quote:

Originally posted by CrimsonSparc
What I'm trying to do is get it to where I create/delete files and folders in my partions. I always need to sign into root to do something like that. I can't even run certain screensavers because of the fact I'm not root. I don't mind using SU or being root to install a prog but I don't want to use SU or root whenever I want to see a screensaver.
I am sure if you put yourself in the video group you will be able to run all screensavers. As for creating and deleting files, you can give yourself permissions to do that using "chmod" as mentioned above. If you are just creating one or two directories/files, then I don't see a problem with using root.

CrimsonSparc 05-02-2005 07:15 AM

Hello,

Thanks for the help guys. I know what I'm going to do now. I appreciate the advise.


All times are GMT -5. The time now is 12:22 AM.