Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 16 Sep 2019, 22:44
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
TazPuppy Beta 33
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 61 of 63 [932 Posts]   Goto page: Previous 1, 2, 3, ..., 59, 60, 61, 62, 63 Next
Author Message
s243a

Joined: 02 Sep 2014
Posts: 2072

PostPosted: Fri 05 Jul 2019, 07:09    Post subject:  

mistfire wrote:
@greengeek the best solution was to login as root


Or you can righclick on the folder in pcmanfm and select "open as root".

_________________
Find me on minds and on pearltrees.
Back to top
View user's profile Send private message Visit poster's website 
mistfire

Joined: 04 Nov 2008
Posts: 1183
Location: PH

PostPosted: Thu 25 Jul 2019, 20:16    Post subject:  

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.
Back to top
View user's profile Send private message 
mistfire

Joined: 04 Nov 2008
Posts: 1183
Location: PH

PostPosted: Fri 09 Aug 2019, 00:27    Post subject:  

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=11EmYEiAOe6n1Hrd-K7M2mAHv_C4AaYcE
MD5 Checksum: c482d39b96f3100282d3393708c0cef4

Build kit: https://drive.google.com/open?id=1YKVI9quFW0mC-rIQhPKfJEV5V6g7dr35
Back to top
View user's profile Send private message 
TiredPup


Joined: 16 Jun 2019
Posts: 21
Location: United States

PostPosted: Sat 24 Aug 2019, 12:25    Post subject: 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?
Back to top
View user's profile Send private message 
s243a

Joined: 02 Sep 2014
Posts: 2072

PostPosted: Sat 24 Aug 2019, 12:30    Post subject: Re: Can't use sudo as user Tux  

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?


Perhaps sudo is still broken? Try sudo from the command line or try right clicking a folder and selecting "open as root".

_________________
Find me on minds and on pearltrees.
Back to top
View user's profile Send private message Visit poster's website 
TiredPup


Joined: 16 Jun 2019
Posts: 21
Location: United States

PostPosted: Sat 24 Aug 2019, 13:29    Post subject:  

Quote:
Try sudo from the command line


"sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set"

"su: setresgid: Operation not permitted" This was in response to running subox and entering root as password.

Quote:
try right clicking a folder and selecting "open as root"


Right clicking a folder and selecting "open as root" from the context menu yielded no response.


Quote:
Perhaps sudo is still broken?


It seems to be the case.
Back to top
View user's profile Send private message 
s243a

Joined: 02 Sep 2014
Posts: 2072

PostPosted: Sat 24 Aug 2019, 14:00    Post subject:  

TiredPup wrote:
.
Quote:
Perhaps sudo is still broken?


It seems to be the case.


Until it is fixed are you able to use the "su" command instead?

_________________
Find me on minds and on pearltrees.
Back to top
View user's profile Send private message Visit poster's website 
TiredPup


Joined: 16 Jun 2019
Posts: 21
Location: United States

PostPosted: Sat 24 Aug 2019, 15:05    Post subject:  

Quote:
Until it is fixed are you able to use the "su" command instead?


su command yields identical results to subox.
Back to top
View user's profile Send private message 
s243a

Joined: 02 Sep 2014
Posts: 2072

PostPosted: Sat 24 Aug 2019, 23:19    Post subject:  

TiredPup wrote:
Quote:
Until it is fixed are you able to use the "su" command instead?


su command yields identical results to subox.


Wild shot in the dark. Try the command:
Code:

busybox su root


on another note. Check the premissions on busybox. I think that it might rquire the suid set. I'm going to have to download the latest iso and try to troubleshoot.

_________________
Find me on minds and on pearltrees.
Back to top
View user's profile Send private message Visit poster's website 
darry19662018

Joined: 31 Mar 2018
Posts: 617
Location: Rakaia

PostPosted: Sun 25 Aug 2019, 06:25    Post subject: 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: http://wikka.puppylinux.com/HomePage

https://freemedia.neocities.org/
Back to top
View user's profile Send private message Visit poster's website 
mistfire

Joined: 04 Nov 2008
Posts: 1183
Location: PH

PostPosted: Sun 25 Aug 2019, 07:24    Post subject:  

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
Back to top
View user's profile Send private message 
TiredPup


Joined: 16 Jun 2019
Posts: 21
Location: United States

PostPosted: Sun 25 Aug 2019, 10:00    Post subject:  

mistfire wrote:

Quote:

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


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.

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

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, 10:27; edited 1 time in total
Back to top
View user's profile Send private message 
mistfire

Joined: 04 Nov 2008
Posts: 1183
Location: PH

PostPosted: Sun 25 Aug 2019, 10:24    Post subject:  

@TiredPup what command did you tried to execute that triggers that error? Did logged out on TazPuppy and logged in to root account before you do that procedure?
Back to top
View user's profile Send private message 
TiredPup


Joined: 16 Jun 2019
Posts: 21
Location: United States

PostPosted: Sun 25 Aug 2019, 10:28    Post subject:  

@mistfire

We crossed posts. I updated my last post as you were reading it apparently.
Back to top
View user's profile Send private message 
mistfire

Joined: 04 Nov 2008
Posts: 1183
Location: PH

PostPosted: Sun 25 Aug 2019, 22:00    Post subject:  

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=1I70c0wYKpTJdi6dkvmwjZz75MNPzixwv
MD5 Checksum: 82ffc3a48380329947e9bfb95ded8ec5

Build kit: https://drive.google.com/open?id=1rnS68vZm_UHAdHE9WHINvb_DC1twijgi
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 61 of 63 [932 Posts]   Goto page: Previous 1, 2, 3, ..., 59, 60, 61, 62, 63 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Cutting edge
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0638s ][ Queries: 12 (0.0124s) ][ GZIP on ]