Re: How do I make a User login shutdown my box?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Contrary to all the other advice you've received, the cleanest way to 
> have done this would be to read the man pages on pam_console (8) , 
> pam_console_apply (8), and console.apps (5).  Proper settings will 
> allow users logged in on the console (and only on the console) to 
> simply shut down the machine with no need for sudo or any other 
> rigamarole.  This will also save you from mischief makers who could ssh 
> into a machine while someone else is using it and then shut it down on 
> them.


Thank you for your (and other peoples) kind advice. But this isn't what I wanted.
I wanted a particular user logon action to shut it down. Nothing more and nothing less.

I've got ppl here who've never seen a Linux desktop and I don't want to confuse them with multiply actions as this action should only be used in a emergency. :-)

As I've already posted, I've managed to get this issue resolved and I'm a happy bunny.

Thanks for your time. :-)

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux