Posted on 1999-11-24
Medium Priority
Last Modified: 2010-04-22
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
Question by:tumma
  • 2

Accepted Solution

barrero earned 0 total points
ID: 2232240
The easiest way: SUID the files or apps. you want normal users access with superuser rights.

The best way (im linux and other unixes): using sudo, the application that allows only certain users (not all as SUID does) to obtain root privileges.

Author Comment

ID: 2232414
I am not getting the picture as what u are saying can u be more clear and descriptive please


Expert Comment

ID: 2232639

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)

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

This article will show you step-by-step instructions to build your own NTP CentOS server.  The network diagram shows the best practice to setup the NTP server farm for redundancy.  This article also serves as your NTP server documentation.
Often times it's very very easy to extend a volume on a Linux instance in AWS, but impossible to shrink it. I wanted to contribute to the experts-exchange community a way of providing a procedure that works on an AWS instance. It can also be used on…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

587 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question