Gentoo Archives: gentoo-user

From: wabenbau@×××××.com
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How to poweroff the system from user?
Date: Thu, 26 Mar 2015 01:47:09
Message-Id: 20150326024637.0329c08b@hal9000.localdomain
In Reply to: [gentoo-user] How to poweroff the system from user? by German
1 German <gentgerman@×××××.com> wrote:
2
3 > If I run poweroff from root, the system shuts down, however when I
4 > run poweroff from user -- command not found. How to shut down the
5 > system from user? Thanks
6
7 I modified a line in /etc/inittab so that I can shutdown my system
8 as user with Ctrl+Alt+Del:
9
10 # What to do at the "Three Finger Salute".
11 ca:12345:ctrlaltdel:/sbin/shutdown -h now
12
13 It works even without systemd. ;-)
14
15 --
16 Regards
17 wabe