To talk on Icrontic, just register!

It only takes 30 seconds.

Have an account? Sign in:

Forgot?
Slick
OMG don't touch the chair
Slick
384 Posts

User Permissions

How do I edit user permissions from the command line. For example I want to give a user permission to shutdown the machine.
__________________ Taking over the world, one computer at a time. ~Slick
Enverex
~-+-~
Enverex
5,852 Posts
I think the user needs to be a member of the group "sys" in the /etc/group file, try that and a few other of the important sounding groups, I would try it for you but I havnt had time to install nix on my Desktop yet, my laptop is Dead and I dont really want to turn off my Server

NS
__________________ RetroTracks - Classic Computer and Game Music
Slick
OMG don't touch the chair
Slick
384 Posts
I don't want to make this user a super user, just enough permission to turn off the machine without all the other commands.
Enverex
~-+-~
Enverex
5,852 Posts
You need to install a program called `sudo` and then give the user access to `/sbin/shutdown`.

And easier way is if you have a `/etc/shutdown.allow` file, is put the persons username in there.

NS
Go Back   Icrontic Forums > Tech: Software > Operating Systems
Jump to
This Thread Search this Thread
Search this Thread:

Advanced Search


Current time: 9:09pm (GMT)
Powered by vBulletin®
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Get Vanilla instead. Trust me.