Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #247824
| From | <tomas@tuxteam.de> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Odd reproducible problem - but is it a bug? |
| Date | 2022-05-02 20:20 +0200 |
| Message-ID | <EiIOl-cKyg-3@gated-at.bofh.it> (permalink) |
| References | <EiGjw-cIS9-5@gated-at.bofh.it> <EiIuZ-cKcg-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
On Mon, May 02, 2022 at 07:58:12PM +0200, Michael Lange wrote:
> Hi,
>
> 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..."
It's no different from the TVs of yore: is it the driver stage
to the high voltage, or did just the capacitor short? What can
I do to tell apart those two?
Cheers
--
t
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