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

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: