1 |
On 26 March 2015 at 17:28, Francisco Ares <frares@×××××.com> wrote: |
2 |
|
3 |
> |
4 |
> |
5 |
> edit /etc/sudoers to include a line like the one bellow: |
6 |
> |
7 |
> |
8 |
> your_user_name |
9 |
> ALL=NOPASSWD:/sbin/halt,NOPASSWD:/sbin/reboot,NOPASSWD:/sbin/poweroff, |
10 |
> |
11 |
> |
12 |
> Then log off and log in again, and it should work. |
13 |
> |
14 |
> Hope this helps, |
15 |
> Francisco |
16 |
> |
17 |
|
18 |
Yeah, lots of ways to do it, there's no need of systemd. |
19 |
Or do people think that Linux users haven't been able to shut down or |
20 |
reboot their computers for the past 30 years? :D |
21 |
Oh, wait, maybe THAT's the reason for the long uptimes. :D :D |
22 |
|
23 |
-- Emanuele Rusconi |