Visit Our UNIX and Linux User Community


Shutdown Privilege


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Shutdown Privilege
# 1  
Old 02-01-2002
Shutdown Privilege

Friends,

I have to grant SHUTDOWN privilege to an ordinary user.
How this can be achieved?

J1yant
# 2  
Old 02-01-2002
What OS? Do you have any security package on the system (such as BoKS?)?

Best bet without knowing the answers to these questions - install and use sudo. This allows you to give certain users or groups some of the access as if they were root.
thehoghunter
# 3  
Old 02-01-2002
OS is SCO UNix Ware 7.0
The security package you mentioned is not installed.
Without any such security package can we grant SHUTDOWN privilege.Is there any work around ?
# 4  
Old 02-01-2002
thehoghunter
# 5  
Old 02-05-2002
Would it work to do something like the following?

create a group called "shutdown"
chgrp shutdown /sbin/shutdown
chmod 4550 /sbin/shutdown
add the users to the group "shutdown"

Then they could "newgrp shutdown; /sbin/shutdown -y -h 0"...

Previous Thread | Next Thread
Test Your Knowledge in Computers #106
Difficulty: Easy
A kernel is at the heart of the Linux OS; and this kernel acts as an interface between the user and underlying hardware.
True or False?

10 More Discussions You Might Find Interesting

1. Red Hat

Block any root Privilege

Hey is there any method (base on kernel) to block adding any root Privilege? only "root" account allow on system and no one can add new root Privilege, ? (4 Replies)
Discussion started by: nimafire
4 Replies

2. Emergency UNIX and Linux Support

Privilege ids list

I would like to capture the list of all users that belong to the "system" group. Or in other words all those who have privilege access on the system. Can someone please help me with a shell script/sed/awk code to obtain this please. (3 Replies)
Discussion started by: ggayathri
3 Replies

3. Shell Programming and Scripting

Create user with different privilege

Hi , I want to create 3 different user with below privilege in Solaris and Linux. 1) Read Only 2)Read and Write Only 3) Admin user Can you guys help me on this . (3 Replies)
Discussion started by: Naveen Pathak
3 Replies

4. AIX

User Privilege

How to assign superuser privilege to an ordinary user temporarily (1 Reply)
Discussion started by: udtyuvaraj
1 Replies

5. UNIX for Dummies Questions & Answers

Script to force Oracle database shutdown when shutdown immediate does not work

I have Oracle 9i R2 on AIX 5.2. My Database is running in shared server mode (MTS). Sometimes when I shutdown the database it shutsdown cleanly in 4-5 mints and sometimes it takes good 15-20 minutes and then I get some ora-600 errors and only way to shutdown is by opening another session and... (7 Replies)
Discussion started by: aixhp
7 Replies

6. UNIX for Dummies Questions & Answers

what does the x privilege mean?

what does x(in rwx) privilege mean? just text files or shell script files? that's so confusing. (3 Replies)
Discussion started by: kang
3 Replies

7. Solaris

Root privilege for user

Can anyone please tell how to give root privilege to a normal user in solaris 10? (5 Replies)
Discussion started by: nicktrix
5 Replies

8. Solaris

root privilege

Hello All, I need your help to know how i can give regular user ALL root privileges. If there is any way pleas help me :) Regards, Ahmad (7 Replies)
Discussion started by: ahmad_one
7 Replies

9. UNIX for Dummies Questions & Answers

Write privilege for user

Is it possible to grant write privileges to a user on a directory with out having to add the user to a group or make the user the owner of the directory? My background is in Windows and in Windows you can grant specific privileges to a user without having to put the user in a group or making the... (3 Replies)
Discussion started by: here2learn
3 Replies

10. UNIX for Advanced & Expert Users

Shutdown Privilege

Dear all, An ordinary user can shutdown the UNIX MACHINE ? SCO UNIXWARE 7.0. what has to be done to privilage for an ordinary user to SHUTDOWN the PC?? i would be thankful if i will get a solution. with regards, konda. (2 Replies)
Discussion started by: konda
2 Replies

Featured Tech Videos