Advertisement

How to give a user admin privileges?

Started by February 05, 2006 06:02 AM
21 comments, last by pulpfist 18 years, 11 months ago
Dud, your rating does not work.
I gave you a positive rate for beeing a nice guy and you went down!
Ha ha, thanks, but don't worry about rating me, you've been helping me alot and speeding up my rate of learning greatly!

Btw, I've been looking into the ways of disabling su to non root users, and have come up with:
chmod o-rwx /usr/bin/su

Which makes non root users only able to use 'sudo' to call 'su'. Just posting this incase I have inadvertingly created a security hole. :)

Thanks alot.

Advertisement
Quote:
Ha ha, thanks, but don't worry about rating me, you've been helping me alot and speeding up my rate of learning greatly!

Thats good to hear.
Just a lot of ignorance pissing me off these days.

Anyway, I dont think that will make any security holes.
You may want to check this thread. Taking the same idea a step futher =)

If you check out the /etc/group file, maybe the users is already part of the wheel group. If thats the case you should be able to remove them from it to restrict access to the su command.
Just an idea =)

This topic is closed to new replies.

Advertisement