Page 1 of 2

Root Permission denied

Posted: 27 Sep 2014, 18:05
by THX2006
Hello to all
I'm running 3.01 with LXDE on a USB drive.
I have the same problem as szaboa does Here
Can access usm, gufw, p-s-c, or any other that needs to be run as root as long as I su to root in lxterminal.
Didn't notice any real solution in the "szaboa" post. Can keep doing it this way if the other involves sudo, I will not use it for anything.


on a side note:
Had to change the "properties" line on the bleachbit start menu entry to

Code: Select all

/usr/bin/bleachbit
to get it to work, now it launches fine.

I'm really kind of liking this Porteus so far. :good:

Re: Root Permission denied

Posted: 27 Sep 2014, 20:57
by brokenman
From a terminal as root try: ln -s /usr/bin/gnsu /usr/bin/gnsudo

Re: Root Permission denied

Posted: 28 Sep 2014, 03:16
by THX2006
brokenman wrote:From a terminal as root try: ln -s /usr/bin/gnsu /usr/bin/gnsudo
Just did it, nothing changed.
Thanks though.

Re: Root Permission denied

Posted: 28 Sep 2014, 17:58
by THX2006
Thanks phhpro, didn't work either.
I'll probably just keep doing it from root lxterminal. I really want nothing to do with sudo, whether they "fixed it" or not. Never needed it before, see no need for it now. If I was going to use Porteus all the time instead of casually like I do right now then I'd try to figure it out, as it stands it's just not that big a deal.

Re: Root Permission denied

Posted: 29 Sep 2014, 23:55
by THX2006
Thanks for the offer phhpro.
That would be anything from the start menu > System tools, that needs root password.
As it stands it's nothing that will keep me from using Porteus.

Re: Root Permission denied

Posted: 30 Sep 2014, 22:58
by THX2006
phhpro wrote:Just took a moment to try. No problems here. Whatever wants root passwd works just fine.
Somehow I knew you was going to say that.
phhpro wrote: You haven't changed the default, have you?
Well Yeah.... I don't leave any password as default when it's listed next to the login in. (my minimum password is 14 characters long)

Doing it like I am is not a big deal, Thanks for trying phhpro.

Re: Root Permission denied

Posted: 13 Oct 2014, 12:12
by memomelaque
I am using LXDE from a thumb drive and when asked for root password "toor" does not work. No, I have not changed the root password.

What is going on?

Re: Root Permission denied

Posted: 13 Oct 2014, 12:29
by francois
In terminal:
su
toor

Maybe you were asked the guest password. :)

Re: Root Permission denied

Posted: 13 Oct 2014, 13:56
by memomelaque
No, it does not mention Guest, only root and toor is rejected every time.

Even su, toor does not work in terminal

Re: Root Permission denied

Posted: 13 Oct 2014, 14:22
by francois
1.0 Did you used capital characters instead of small characters? Did you check the md5sum? Did you used persistence with the save= cheatcode in the syslinux menu entry? Try the always fresh option which should provide a virgin setup. And tell us if the root password works.

2.0 Go into the /boot/syslinux/porteus.cfg and add the login=root (cheatcode for login the root user) and reboot choosing graphic mode:

Code: Select all

LABEL kde
MENU LABEL Graphics mode (KDE4)
KERNEL vmlinuz
APPEND initrd=initrd.xz changes=/porteus login=root
If you are able to do so then use the passwd in terminal to change the root password:

Code: Select all

root@porteus:/# passwd
3.0 If this does not work, or you are doing something that I unable to figure out, or the download was corrupted. In which case, download anew and just reinstall the boot and porteus folders on the usb with the porteus.iso using the mloop «the name of the iso» (the folders will be in /mnt/loop):

Code: Select all

root@porteus:/mnt/sda5/64bit_v30/kde/changes/root/Downloads# mloop Porteus-KDE4-v3.0-i486.iso
using /dev/loop33
...
4.0 Just tell us by which method you did install porteus.

Re: Root Permission denied

Posted: 01 Nov 2014, 20:25
by THX2006
francois wrote:1.0 Did you used capital characters instead of small characters? Did you check the md5sum? Did you used persistence with the save= cheatcode in the syslinux menu entry? Try the always fresh option which should provide a virgin setup. And tell us if the root password works.

2.0 Go into the /boot/syslinux/porteus.cfg and add the login=root (cheatcode for login the root user) and reboot choosing graphic mode:

Code: Select all

LABEL kde
MENU LABEL Graphics mode (KDE4)
KERNEL vmlinuz
APPEND initrd=initrd.xz changes=/porteus login=root
If you are able to do so then use the passwd in terminal to change the root password:

Code: Select all

root@porteus:/# passwd
3.0 If this does not work, or you are doing something that I unable to figure out, or the download was corrupted. In which case, download anew and just reinstall the boot and porteus folders on the usb with the porteus.iso using the mloop «the name of the iso» (the folders will be in /mnt/loop):

Code: Select all

root@porteus:/mnt/sda5/64bit_v30/kde/changes/root/Downloads# mloop Porteus-KDE4-v3.0-i486.iso
using /dev/loop33
...
4.0 Just tell us by which method you did install porteus.
Hello francois
Sorry it took this long to ask, but, every time you use KDE in your directions, can it be changed to LXDE (with no other changes) as memomelaque and I are using ?

Re: Root Permission denied

Posted: 01 Nov 2014, 21:55
by brokenman
Thanks to Tome I confirmed a bug in the modified gnsu which means that passwords with some special characters (like spaces) are not passed successfully. This will be address in next release v3.1rc2. Thanks.

Re: Root Permission denied

Posted: 01 Nov 2014, 22:11
by THX2006
And a Big Thanks to you brokenman !
Tome Too !

Re: Root Permission denied

Posted: 02 Nov 2014, 14:00
by francois
You would like to interchange the kde for another one. For this I use the extramod cheatcode. Here is my menu.lst as an example:

Code: Select all

title porteus  on sda5 64bit_v31rc1 LXQT 
root (hd0,4)
kernel /64bit_v31rc1/boot/syslinux/vmlinuz from=/dev/sda5/64bit_v31rc1 extramod=/mnt/sda5/64bit_v31rc1/lxqt changes=EXIT:/64bit_v31rc1/lxqt   login=root
initrd /64bit_v31rc1/boot/syslinux/initrd.xz
boot

title porteus  on sda5 64bit_v31rc1 XFCE 
root (hd0,4)
kernel /64bit_v31rc1/boot/syslinux/vmlinuz from=/dev/sda5/64bit_v31rc1 extramod=/mnt/sda5/64bit_v31rc1/xfce changes=EXIT:/64bit_v31rc1/xfce   login=root
initrd /64bit_v31rc1/boot/syslinux/initrd.xz
boot

title porteus  on sda5 64bit_v30  KDE 
root (hd0,4)
kernel /64bit_v30/boot/syslinux/vmlinuz from=/dev/sda5/64bit_v30 extramod=/mnt/sda5/64bit_v30/kde changes=EXIT:/64bit_v30/kde   login=root
initrd /64bit_v30/boot/syslinux/initrd.xz
boot
For your use: 1) erase the content after changes= (thus in always fresh mode, as you asked), 2) you have to place the respective 003-lxqt.xzm, 003-xfce.xzm and 003-kde.xzm in the pointed extramodular folders, /mnt/sda5/64bit_v31rc1/lxqt, /mnt/sda5/64bit_v31rc1/xfce and /mnt/sda5/64bit_v31rc1/kde. Make sure that these do not appear also in the /mnt/sda5/64bit_v31rc1/porteus/base folder.

You can find the other de in:
http://dl.porteus.org/x86_64/current/modules/

Make sure to use the appropriate desktop environments versions for your installation. Here, I was using 3.0 rc1.

Re: Root Permission denied

Posted: 02 Nov 2014, 15:27
by Ed_P
francois wrote:Make sure that these do not appear also in the /mnt/sda5/64bit_v31rc1/porteus/base folder.
Actually it doesn't matter. The last one loaded wins.