[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

AW: Firmware III grub



Good evening

Thank You

Is the most easy way for
update
and root managing

su
su -
sudo?

Tegards
Sophie



Von: Greg Wooledge <greg@wooledge.org>
Gesendet: Dienstag, 24. Mai 2022 19:16
An: debian-user@lists.debian.org <debian-user@lists.debian.org>
Betreff: Re: Firmware III grub
 
On Tue, May 24, 2022 at 09:07:46PM +0200, Siard wrote:
> I accomplished the same by creating /usr/local/bin/su containing these lines:
>
> #! /bin/sh
> PATH=$PATH:/sbin:/usr/sbin
> /bin/su
>
> and making it executable.

Clever.  But the final line should be:

exec /bin/su "$@"

I still prefer the /etc/default/su solution from the wiki, though.


Reply to: