rights to user

Posted on 1999-11-08
Medium Priority
Last Modified: 2013-11-13
How can I give certain rights like shutting down to a particular user.
Please let me know.
Question by:arun_k_c
  • 3

Accepted Solution

packratt_jk earned 40 total points
ID: 2191635
change the 'group' permission of the program you want to use so that the group can execute (chmod g+x)

Then add the user to that group.


Author Comment

ID: 2191892
No the information  I wanted was how to give the su rights to users
ie shutting down the computer,fdisk,formating etc..
Please let me know

Expert Comment

ID: 2192485
chmod 4544 <filename>

Expert Comment

ID: 2192489
problem is - that will give rights to ALL users

Expert Comment

ID: 2205954
If you want to give a user a clone of the roots powers, just give him the root password. He couldn't do any more damage with it than he could with the powers.

There is a command called sudo (super-user do) that allows you to define what commands each user can execute as the superuser.  It's kindof a security risk (they say it takes several minutes of hard thought by the user to figure out how to get full root access), but since you're talking allowing them to format the HD, it certianly couldn't be a bigger risk than that.

They would type in "sudo rm -f /*", and sudo would check to see if rm is on that user's list.

You can download the rpm from http://rufus.w3.org/linux

I guess you need to be more specific on what you mean by "super user powers".  Do you want them to be able to perform specific tasks as SU?  Should they be able to look at or delete everyones files?  When you say format, do you mean you want them to wire the HD, or just set up floppies?  The latter is just setting a "user" flag in /etc/fstab.

Featured Post

[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

With User Account Control (UAC) enabled in Windows 7, one needs to open an elevated Command Prompt in order to run scripts under administrative privileges. Although the elevated Command Prompt accomplishes the task, the question How to run as script…
I have written articles previously comparing SARDU and YUMI.  I also included a couple of lines about Easy2boot (easy2boot.com).  I have now been using, and enjoying easy2boot as my sole multiboot utility for some years and realize that it deserves …
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses

588 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