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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...