Dearie

Thanks for your offer of help; however.....

> Sent: Tuesday, March 01, 2022 at 3:10 AM
> From: "Andrew M.A. Cater" <amaca...@einval.com>
> To: debian-user@lists.debian.org
> Subject: Re: Authentication failed after su-
>
>
> If you use sudo: prefix the above command with sudo
>
> It may be that you need
>
> su - -l -c "rest of the line"
>
> su alone doesn't always get you root equivalent: the default changed a while
> ago now so su - is needed.

Firstly, I tried the command:

sudo su - -l -c "rest of the line"

It didn't work

Next, I tried:

sudo su- -l -c "rest of the line"

It didn't work either

On the third try, I typed:

sudo -i

followed by "rest of the line" (I ignored -l -c because if I included them, the 
"rest of the line" wouldn't be executed. Besides I don't know what the 
arguments -l -c stand for.)

Alternatively, one could type:

sudo su


Best regards.

Stella

Reply via email to