Today's Posts

Red Hat is the world's leading open source technology solutions provider with offerings including Red Hat Enterprise Linux (RHEL), Fedora, open source applications, security and systems management, virtualization, and Services Oriented Architecture (SOA) solutions.

shutdown.allow not working

Login to Reply

Thread Tools Search this Thread
# 1  
Old 03-11-2012
MySQL shutdown.allow not working

Dear Frnds

I want to allow few users to reboot the machine from Console.I have altered the ctlaltdel line with -a flag in " inittab file " I have also created shutdown.allow file in /etc and putted some users there.

The problem is when i try to reboot with users except users in /etc/shutdown.allow , machine is rebooting.I want to restrict other users.

Please help me

Thank You
# 2  
Old 03-11-2012
You can also edit the /etc/sudoers file and allow specific users to shutdown or reboot the system .Something like that .
## Allows members of the users group to shutdown this system
# %users  localhost=/sbin/shutdown -h now

Last edited by codemaniac; 03-11-2012 at 03:21 AM..
The Following User Says Thank You to codemaniac For This Useful Post:
Vaibhav.T (03-11-2012)
Login to Reply

« Previous Thread | Next Thread »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Disk Space Utilization in HTML format working in one environment and not working on the other Harihsun Shell Programming and Scripting 13 08-14-2018 08:45 PM
Working web service call not working with curl abigbear Shell Programming and Scripting 3 08-13-2017 04:02 PM
Automating pbrun /bin/su not working, whenever manually it is working using putty jorgejac Shell Programming and Scripting 14 12-03-2015 02:32 PM
Nslookup working but ping not working at windows client boby.kumar Red Hat 5 02-28-2014 07:27 AM
Script not working in cron but working fine manually jasperux Shell Programming and Scripting 2 07-05-2012 01:37 AM
plink shutdown ollie01 AIX 6 03-17-2011 05:50 PM
Shutdown command x_adm AIX 3 06-17-2010 01:24 PM
Script to force Oracle database shutdown when shutdown immediate does not work aixhp UNIX for Dummies Questions & Answers 7 03-11-2010 02:04 PM
Script sh for shutdown Dymblos Shell Programming and Scripting 1 11-12-2009 03:24 PM
Understanding shutdown chebarbudo UNIX for Dummies Questions & Answers 6 02-17-2009 10:34 AM
server is getting shutdown b_manu78 AIX 1 04-19-2007 07:03 PM
Shutdown script kingsto88 HP-UX 0 03-20-2007 09:43 PM
Shutdown aewpcoles UNIX for Advanced & Expert Users 6 08-03-2006 10:46 AM
Shutdown scripts luft SuSE 1 05-15-2005 07:17 AM
to shutdown rajashekaran UNIX for Advanced & Expert Users 2 02-18-2002 01:42 PM

All times are GMT -4. The time now is 07:38 PM.

Unix & Linux Forums Content Copyright 1993-2018. All Rights Reserved.
Show Password