Local user login and shut down

Support for security such as Firewalls and securing linux
Post Reply
Waiyan Lynn
Posts: 1
Joined: 2017/11/16 02:54:01

Local user login and shut down

Post by Waiyan Lynn » 2017/11/16 10:08:35

When a specific local user login, I need the system to shut down automatically. What should I do for that?

CarlRestor
Posts: 19
Joined: 2017/10/31 16:48:13

Re: Local user login and shut down

Post by CarlRestor » 2017/11/16 19:33:15

"Username" T. - Always Preferred

MartinR
Posts: 714
Joined: 2015/05/11 07:53:27
Location: UK

Re: Local user login and shut down

Post by MartinR » 2017/11/17 14:00:53

Err, given that this is the CentOS forum you'll not be surprised to see that advice from Microsoft Technet is totally irrelevant. Indeed the first line of the page says:
Applies To: Windows 7, Windows 8, Windows Server 2008 R2, Windows Server 2012
Have a read of the shutdown man page and then look at the startup scripts (see bash(1) for details).

Post Reply