rights to user

How can I give certain rights like shutting down to a particular user.
Please let me know.
Thanks
Arun.
arun_k_cAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

packratt_jkCommented:
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.

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
arun_k_cAuthor Commented:
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
0
packratt_jkCommented:
chmod 4544 <filename>
0
packratt_jkCommented:
problem is - that will give rights to ALL users
0
rwenzlaCommented:
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.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Installation

From novice to tech pro — start learning today.