TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [TCLUG:9058] Shutdown via user (not root)
There are two "shutdown" commands. One's a link to /usr/bin/consolehelper
the other's the real shutdown command.
Remove the symbolic link at /usr/bin/shutdown and users won't be able to
run shutdown.
Note: the RPM package "usermode" contains /usr/bin/{shutdown,consolehelper)
as well as:
userinfo - graphical version of chfn
usermount - graphical version of mount
userpasswd- graphical version of passwd
userhelper- graphical interface to pam
If you're concerned about this kind of stuff, you might want to uninstall
the entire usermode RPM.
-sos@skypoint.com
Mike Hicks wrote:
>
> Hmm.. How would I disable user shutdowns (i.e., a person logged in under
> their username runs 'shutdown', types in their password, and the
> computer shuts down) in RedHat 6.x? Allowing user shutdowns seems to be
> the default in 6.0 and 6.1. (eek)
>
> Linuxconf doesn't seem to be any help in this matter (the users are
> clearly marked as not having that capability..)
>
> Anyway, I was just kind of wondering if that's a bug or something (or if
> I just have bad voodoo)