I don't know if this over-simplification, but if it were me, I'd just su -c 'chmod 700 /sbin/shutdown'
- seth > On 10/05/2011 04:46 PM, Alois Treindl wrote: > > Thanks a lot, Andrew. > > > > Still complicated, but managable. > > > > Why did Redhat not put in a feature to remove the shutdown? > > > > /sbin/halt and /sbin/reboot need root permission, too. Why not the Gnome > > menu command??? > > My guess is that Red Hat did this to make easier for home/laptop users, > who don't want to logout as a regular user and then log in as root to > just to shutdown the system. > > I'd say that's a reasonable argument, but it should be easy for sys > admins to disable it in the workplace when needed. > > -- > Prentice > > _______________________________________________ > rhelv6-list mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/rhelv6-list -seth _______________________________________________ rhelv6-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/rhelv6-list
