[GLLUG] Network UPS Tools

James Courtier-Dutton james.dutton at gmail.com
Mon Jun 17 16:47:23 UTC 2019


On Mon, 17 Jun 2019 at 17:32, Chris Bell via GLLUG <gllug at mailman.lug.org.uk>
wrote:

> On Monday, 17 June 2019 17:11:56 BST Martin A. Brooks via GLLUG wrote:
> > On 2019-06-17 17:04, Chris Bell via GLLUG wrote:
> > > I am able to ssh in from another local box, su to root, but am then
> > > unable to
> > > use the standard "shutdown" command.
> >
> > What do you mean by "unable"?
> >
> > What command did you type?  What result did you get?  How did this
> > differ from your expectations?
>
> I totally re-installed buster from scratch to guarantee that there was
> nothing
> else affecting the problem, then
>
> In each case where it failed:
> su and login with the root password, then
> # adduser --uid=xxx username
> bash: adduser: command not found
> # shutdown -r +1
> bash: shutdown: command not found
>
> No problem after ctrl+alt+F1 then simple login as root.
>

Hi,

That will just be your environment.
difference between "su" and  "su -"
shutdown just doing being on your PATH in one of the cases.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20190617/5de3b6f3/attachment.html>


More information about the GLLUG mailing list