sudo in a command does not work (BookwormPup64 10.0.6)

Moderator: Forum moderators

Post Reply
User avatar
bigpup
Moderator
Posts: 6993
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 911 times
Been thanked: 1528 times

sudo in a command does not work (BookwormPup64 10.0.6)

Post 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.

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
bigpup
Moderator
Posts: 6993
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 911 times
Been thanked: 1528 times

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

Post by bigpup »

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

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
BarryK
Posts: 2692
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 132 times
Been thanked: 738 times

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

Post 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.

Post Reply

Return to “BookwormPup”