Page 1 of 1

sudo in a command does not work (BookwormPup64 10.0.6)

Posted: Sun Mar 24, 2024 6:11 am
by bigpup

BookwormPup64 10.0.6
Frugal install with save folder.

I know we are running as root user and do not need sudo to run a command.

But sometimes we download software that will have commands in it that use sudo.

So for many years sudo has been supported in Puppy if it needs to be used.
.
.
I recently downloaded some software that had an execute script file that needed to be run.

Some of the commands in it have sudo in them.

The script would stop executing a command at any place there was sudo

If I edited the script and removed sudo for any command that had it.

The script operated OK.
.
.
I see there is some stuff for sudo in the BookwormPup64 operating system.
But there must be something missing to be able to use sudo in a command.


Re: sudo in a command does not work (BookwormPup64 10.0.6)

Posted: Mon Apr 22, 2024 12:04 am
by bigpup

Any of the dev's going to comment on this?


Re: sudo in a command does not work (BookwormPup64 10.0.6)

Posted: Mon Apr 22, 2024 9:44 am
by BarryK

In EasyOS, June 2023, sudo stopped working.
This happened when I changed busybox password encryption from whatever it defaulted to before, to SHA512.

I posted about this:
https://bkhome.org/news/202306/goodbye- ... ckage.html

I also developed a replacement for sudo:
https://bkhome.org/news/202306/light-we ... -sudo.html

But, any app that actually wants sudo executable in EasyOS, it won't work.

Just reporting my experience, don't know what the latest pups are doing, whether they have this problem of busybox password encryption incompatible with sudo.

Let's see, can test if sudo works:

Code: Select all

# su spot
# sudo urxvt
Password:

...need to know the root password.