Jump to content

Users being added seem to have root prileges


Guest seven212
 Share

Recommended Posts

Guest seven212

I'm not sure if this is the right forum to post this in, so tell me if it isn't. When I add a user through the user manager utility in X, it seems to give them certain root prileges e.g. I can go to console and run the reboot command. I added the user to group users. Can someone tell me how to add a regular user without special priveleges.

Link to comment
Share on other sites

Guest seven212

Well I know what permissions are, are you saying the reboot command has the wrong permissions set? I read "being root" from the documentation, doesn't address adding users.

Link to comment
Share on other sites

Some functions you see as superuser only (such as rebooting the machine) is executable by all unfortunately since the programs is located in /usr/bin. Maybe you can just make the executables runnable just by root account by changing the permission (chmod and chown commands respectively). Or better yet, just delete those two programs. Me, I like it better that way since I hate going to su to root just to shutdown or reboot the computer.

Link to comment
Share on other sites

Guest seven212

Ok thanks, I'll consider that. Is there any other programs which "should" be superuser only but everyone else can access? Also, in KDE, there's a logout option from the main menu, will me changing permissions on reboot not allow regular users to reboot like that in KDE?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...