Or you can righclick on the folder in pcmanfm and select "open as root".mistfire wrote:@greengeek the best solution was to login as root
TazPuppy 5.0 rc2
hello
For that past several weeks. I attempted to release TazPuppy however there is a big hindrance why I cant release another version and I need some help here to fix the following issue. These issue can be easily recreated on last tazpuppy release and only applicable to common user account not on root account
1. sudo was seems to be broken. If you put a wrong root password when sudo program. It still continue to run program in sudo instead of exit and return error message
2. If you install gksu and invoke command on sudo -A it shows that the requesting program was "Password:" instead of the actual command that requires root permission. And it does not work even if you enter a correct password
3. all programs require sudo password except shutdown, reboot, poweroff, pup_event_frontend_d and some puppy core programs.
I hope that someone here can help me to fix these issue on TazPuppy.
For that past several weeks. I attempted to release TazPuppy however there is a big hindrance why I cant release another version and I need some help here to fix the following issue. These issue can be easily recreated on last tazpuppy release and only applicable to common user account not on root account
1. sudo was seems to be broken. If you put a wrong root password when sudo program. It still continue to run program in sudo instead of exit and return error message
2. If you install gksu and invoke command on sudo -A it shows that the requesting program was "Password:" instead of the actual command that requires root permission. And it does not work even if you enter a correct password
3. all programs require sudo password except shutdown, reboot, poweroff, pup_event_frontend_d and some puppy core programs.
I hope that someone here can help me to fix these issue on TazPuppy.
TazPuppy Beta 31 released:
* Built from recent slitaz release
* Fixed all file and folder permissions
* Fixed sudo problems
* Fixed free memory tray applet
* Ability to handle AppImage, Snap (experimental, requires snap installed), and Flatpak (experimental, requires flatpak installed)
Download: https://drive.google.com/open?id=11EmYE ... Hv_C4AaYcE
MD5 Checksum: c482d39b96f3100282d3393708c0cef4
Build kit: https://drive.google.com/open?id=1YKVI9 ... V5V6g7dr35
* Built from recent slitaz release
* Fixed all file and folder permissions
* Fixed sudo problems
* Fixed free memory tray applet
* Ability to handle AppImage, Snap (experimental, requires snap installed), and Flatpak (experimental, requires flatpak installed)
Download: https://drive.google.com/open?id=11EmYE ... Hv_C4AaYcE
MD5 Checksum: c482d39b96f3100282d3393708c0cef4
Build kit: https://drive.google.com/open?id=1YKVI9 ... V5V6g7dr35
Can't use sudo as user Tux
I have used Slitaz in the past. I have also used previous versions of Tazpup successfully. However I am having a great deal of trouble with this latest version of Tazpup. I am not able to do anything that requires root access. This includes setting up the network or running an app like gparted. Subox will appear and request a root password. I enter root, it returns an error message for wrong password.
I logged out of user Tux and logged into user Root. Root password was accepted for this login. I was able to configure wifi and do an install of Tazpup to my Eeepc 901 this way. I found that Midori browser will run when logged in as Root but will refuse to save downloads throwing up an error message complaining about permission issues.
I find these issues repeated on the Eeepc 901 after booting from hdd install as well. So I booted from usb on my desktop. Got the same thing.
I tried running from console to overcome permission issues as user Tux but no luck.
What am I not understanding?
I logged out of user Tux and logged into user Root. Root password was accepted for this login. I was able to configure wifi and do an install of Tazpup to my Eeepc 901 this way. I found that Midori browser will run when logged in as Root but will refuse to save downloads throwing up an error message complaining about permission issues.
I find these issues repeated on the Eeepc 901 after booting from hdd install as well. So I booted from usb on my desktop. Got the same thing.
I tried running from console to overcome permission issues as user Tux but no luck.
What am I not understanding?
Re: Can't use sudo as user Tux
Perhaps sudo is still broken? Try sudo from the command line or try right clicking a folder and selecting "open as root".TiredPup wrote:I have used Slitaz in the past. I have also used previous versions of Tazpup successfully. However I am having a great deal of trouble with this latest version of Tazpup. I am not able to do anything that requires root access. This includes setting up the network or running an app like gparted. Subox will appear and request a root password. I enter root, it returns an error message for wrong password.
I logged out of user Tux and logged into user Root. Root password was accepted for this login. I was able to configure wifi and do an install of Tazpup to my Eeepc 901 this way. I found that Midori browser will run when logged in as Root but will refuse to save downloads throwing up an error message complaining about permission issues.
I find these issues repeated on the Eeepc 901 after booting from hdd install as well. So I booted from usb on my desktop. Got the same thing.
I tried running from console to overcome permission issues as user Tux but no luck.
What am I not understanding?
Find me on [url=https://www.minds.com/ns_tidder]minds[/url] and on [url=https://www.pearltrees.com/s243a/puppy-linux/id12399810]pearltrees[/url].
"sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set"Try sudo from the command line
"su: setresgid: Operation not permitted" This was in response to running subox and entering root as password.
Right clicking a folder and selecting "open as root" from the context menu yielded no response.try right clicking a folder and selecting "open as root"
It seems to be the case.Perhaps sudo is still broken?
Wild shot in the dark. Try the command:TiredPup wrote:su command yields identical results to subox.Until it is fixed are you able to use the "su" command instead?
Code: Select all
busybox su root
Find me on [url=https://www.minds.com/ns_tidder]minds[/url] and on [url=https://www.pearltrees.com/s243a/puppy-linux/id12399810]pearltrees[/url].
-
- Posts: 721
- Joined: Sat 31 Mar 2018, 08:01
- Location: Rakaia
- Contact:
Comments
Running as root like in other Puppies found a problem with Timezone Configuration - nothing happens so used the script slitaz dialog configs as this worked without incident and changed to NZ timezone.
Puppy Linux Wiki: [url]http://wikka.puppylinux.com/HomePage[/url]
[url]https://freemedia.neocities.org/[/url]
[url]https://freemedia.neocities.org/[/url]
Hello
Sorry for late reply. I figured out the problem. It was a file permission issue.
To fix this problem:
1. login as root
2. type the following command on terminal and press enter
I will fix also this bug on TazPuppy builder
Sorry for late reply. I figured out the problem. It was a file permission issue.
To fix this problem:
1. login as root
2. type the following command on terminal and press enter
Code: Select all
chmod 4755 /usr/bin/sudo
chmod 4755 /bin/busybox
chmod 4755 /bin/su
mistfire wrote:
EDIT:
Success!
I had been doing all of this without a savefile because user Tux did not have sudo permissions to initiate shutdown and reboot. So when I implemented your instructions I skipped a step in the process.
So I repeated the process, then logged out of root, into Tux and shutdown successfully making a savefile in the process. And of course, on reboot I was able to log in as Tux and all is well with the permissions issue.
I just implemented these steps as described. It has not changed anything. I am still receiving all of the same error messages as previously described.
Hello
Sorry for late reply. I figured out the problem. It was a file permission issue.
To fix this problem:
1. login as root
2. type the following command on terminal and press enter
Code:
chmod 4755 /usr/bin/sudo
chmod 4755 /bin/busybox
chmod 4755 /bin/su
I will fix also this bug on TazPuppy builder
EDIT:
Success!
I had been doing all of this without a savefile because user Tux did not have sudo permissions to initiate shutdown and reboot. So when I implemented your instructions I skipped a step in the process.
So I repeated the process, then logged out of root, into Tux and shutdown successfully making a savefile in the process. And of course, on reboot I was able to log in as Tux and all is well with the permissions issue.
Last edited by TiredPup on Sun 25 Aug 2019, 14:27, edited 1 time in total.
TazPuppy Beta 32 released
Changes:
* Broken busybox, su, and sudo in user account due to file permissions was fixed
Download: https://drive.google.com/open?id=1I70c0 ... 75MNPzixwv
MD5 Checksum: 82ffc3a48380329947e9bfb95ded8ec5
Build kit: https://drive.google.com/open?id=1rnS68 ... _DC1twijgi
Changes:
* Broken busybox, su, and sudo in user account due to file permissions was fixed
Download: https://drive.google.com/open?id=1I70c0 ... 75MNPzixwv
MD5 Checksum: 82ffc3a48380329947e9bfb95ded8ec5
Build kit: https://drive.google.com/open?id=1rnS68 ... _DC1twijgi
Does your latest TazPuppy setup has zdrv and fdrv file?
yes
Where did you get the xfce?
from tazpanel
Also if you want automount, just install startmount pet package. TazPuppy supports pet packages too
where is pet?
please, can you create repository
such as new xfce 4,14.
(your xfce is from last century...)
network manager gnome,,,
office,
master pdf editor
etc
also,
there is problem with wifi
starting wpa supplicant failed
yes
Where did you get the xfce?
from tazpanel
Also if you want automount, just install startmount pet package. TazPuppy supports pet packages too
where is pet?
please, can you create repository
such as new xfce 4,14.
(your xfce is from last century...)
network manager gnome,,,
office,
master pdf editor
etc
also,
there is problem with wifi
starting wpa supplicant failed