1 |
on Sunday 22 March 2015 02:32:00,German wrote: |
2 |
> On Sat, 21 Mar 2015 18:51:58 -0400 |
3 |
> |
4 |
> Fernando Rodriguez <frodriguez.developer@×××××××.com> wrote: |
5 |
> > On Saturday, March 21, 2015 4:58:42 PM German wrote: |
6 |
> > > On Sat, 21 Mar 2015 16:32:25 -0400 |
7 |
> > > |
8 |
> > > Philip Webb <purslow@××××××××.net> wrote: |
9 |
> > > > 150321 German wrote: |
10 |
> > > > > If I run poweroff from root, the system shuts down. |
11 |
> > > > > When I run poweroff from user -- command not found. |
12 |
> > > > > How to shut down the system from user ? |
13 |
> > > > |
14 |
> > > > I'ld say "Don't" : it's contrary to the principles of Unix, |
15 |
> > > > which separate the roles of sysadmin (root) from those of ordinary |
16 |
> > > > users. |
17 |
> > > > |
18 |
> > > > To shut down, I first exit Fluxbox via its menu, |
19 |
> > > > then 'su' + root password, then alias 'down' = 'shutdown -h now'. |
20 |
> > > > That observes the proper roles + ceremonies (smile). |
21 |
> > > |
22 |
> > > Interesting. But as I said ealier, I can reboot the system when I am a |
23 |
> > > user |
24 |
> > |
25 |
> > by Ctrl+Alt+Delete. The user can reboot the system, but can't shut down? |
26 |
> > Strange |
27 |
> > |
28 |
> > |
29 |
> > Either /sbin/poweroff or /usr/sbin/poweroff will do it from a local |
30 |
> > session (if there's no other users logged in locally). |
31 |
> |
32 |
> /sbin/poweroff says "Must be a superuser" :( |
33 |
|
34 |
then it's high time for you to trash away sysvint and openrc, and try |
35 |
systemd!!! |
36 |
|
37 |
> > Like I said, /sbin is only on the search path for root by default on |
38 |
> > gentoo. |