tumma
asked on
SUPERUSER RIGHTS
How can i give certain super rights like shutdown to certains users so that even if the administrator is not there these people can perform those things
Please let me know
thanks
Arun
Please let me know
thanks
Arun
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Ok.
What you want is to give some users Superuser rigths, don't you?
The first way, is to use a special bit called SUID. when this bit is enabled (see for more details man chmod and family). When this bit is setted, the application will run with the privileges of the owner of the file. It means that if root is the owner, and a normal users has execute persmission... it will run like root is executing it (it's valid for all users..)
The second way, is using sudo. Sudo works almost the same way as SUID bit, but it gives to the sysadmin more control on who is executing what. There is a configuration file where you can specify who can execute what... (more details sudo documentation.. or simply mansudo)
What you want is to give some users Superuser rigths, don't you?
The first way, is to use a special bit called SUID. when this bit is enabled (see for more details man chmod and family). When this bit is setted, the application will run with the privileges of the owner of the file. It means that if root is the owner, and a normal users has execute persmission... it will run like root is executing it (it's valid for all users..)
The second way, is using sudo. Sudo works almost the same way as SUID bit, but it gives to the sysadmin more control on who is executing what. There is a configuration file where you can specify who can execute what... (more details sudo documentation.. or simply mansudo)
ASKER
Thanks
Arun