Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #247882
| From | Anders Andersson <pipatron@gmail.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Odd reproducible problem - but is it a bug? |
| Date | 2022-05-04 05:30 +0200 |
| Message-ID | <EjdS9-d4n7-1@gated-at.bofh.it> (permalink) |
| References | <EiGjw-cIS9-5@gated-at.bofh.it> <EiIuZ-cKcg-5@gated-at.bofh.it> <EiIOl-cKyg-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, May 2, 2022 at 8:19 PM <tomas@tuxteam.de> wrote:
> On Mon, May 02, 2022 at 07:58:12PM +0200, Michael Lange wrote:
> > On Mon, 2 May 2022 10:17:06 -0500
> > Richard Owlett <rowlett@cloud85.net> wrote:
> > > I'm using Debian 10.7 with MATE DE [will be updated later this week]
> > > The machine is a Lenovo T510 and is setup to login as either "richard"
> > > or "root".
> > >
> > > If logged in as "richard" I can execute su {+ password} and receive a
> > > prompt indicating I'm "root".
> > >
> > > However if I then enter "update-grub", the response is
> > > "bash: update-grub: command not found"
> > > as if I were the unprivileged user "richard".
> >
> > you need to do
> >
> > # su -
> >
> > (instead of just
> >
> > # su
> > ),
> > otherwise $PATH will be inherited from user "richard" and thus lack the
> > entry "/sbin".
>
> Or just get used to say "/sbin/update-grub" ;-)
>
> (No, I'm not really being serious here. But half-acquiring this
> habit would have helped you to unravel the problem like in "Ah,
> I have the permissions but not the $PATH..."
On this note, I've always found it annoying that debian (and likely
others) don't put /sbin in the normal user's $PATH. A lot of the tools
there have uses other than modifying the system.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Odd reproducible problem - but is it a bug? Richard Owlett <rowlett@cloud85.net> - 2022-05-02 17:40 +0200
Re: Odd reproducible problem - but is it a bug? Lucio Crusca <lucio@sulweb.org> - 2022-05-02 17:50 +0200
Re: Odd reproducible problem - but is it a bug? "Andrew M.A. Cater" <amacater@einval.com> - 2022-05-02 17:50 +0200
Re: Odd reproducible problem - but is it a bug? Greg Wooledge <greg@wooledge.org> - 2022-05-02 18:00 +0200
Re: Odd reproducible problem - but is it a bug? Michael Lange <klappnase@freenet.de> - 2022-05-02 20:00 +0200
Re: Odd reproducible problem - but is it a bug? <tomas@tuxteam.de> - 2022-05-02 20:20 +0200
Re: Odd reproducible problem - but is it a bug? Anders Andersson <pipatron@gmail.com> - 2022-05-04 05:30 +0200
Re: Odd reproducible problem - but is it a bug? tomas@tuxteam.de - 2022-05-04 07:40 +0200
Re: Odd reproducible problem - but is it a bug? Charles Curley <charlescurley@charlescurley.com> - 2022-05-04 15:10 +0200
Re: Odd reproducible problem - but is it a bug? Greg Wooledge <greg@wooledge.org> - 2022-05-04 15:40 +0200
Re: Odd reproducible problem - but is it a bug? Nicolas George <george@nsup.org> - 2022-05-04 16:00 +0200
csiph-web