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