Hello,
For me also, exegnulinux_3.3_preview4.iso works in live mode and installs fine. During installation I told it to not disable sudo. It asked for a user password and a root password.
But now, when I try to run an admin app, such as adjust date & time, a KDE su dialog appears but doesn't accept my password. Also, when I enter a terminal sudo command, it fails saying that I am not in the sudoers file.
Is there a way to correct this? Should I reinstall with the option to disable sudo?
thx - Robert
On 05/07/12 03:32, Robert Peters wrote:
Hello,
For me also, exegnulinux_3.3_preview4.iso works in live mode and installs fine. During installation I told it to not disable sudo. It asked for a user password and a root password.
But now, when I try to run an admin app, such as adjust date& time, a KDE su dialog appears but doesn't accept my password. Also, when I enter a terminal sudo command, it fails saying that I am not in the sudoers file.
Is there a way to correct this? Should I reinstall with the option to disable sudo?
thx - Robert
Firstly, please remember that exegnu is "unofficial" user project and in any case, not well tested. I never actually tried it with sudo, will look into that.
For sudo to work,
1. kdesudo-trinity should be installed 2. ~/.trinity/share/config/kdesurc Should contain the line (no quotes): super-user-command=sudo 3. /etc/sudoers should contain the line your_username ALL=(ALL) ALL
OR (provided you user is in group "sudo") %sudo ALL=(ALL) ALL
If you don't want sudo 1-3 above should be the opposite. Please use only visudo in a root terminal to edit /etc/sudoers.
If you want to check that, maybe fix what is wrong and let me know, that would help. Otherwise, it takes a short time to reinstall and use su. (or just, edit kdesurc and purge kdesudo-trinity)
It's difficult to support what I don't actually use myself, or problems nobody said existed!
As this seems an installer bug (thanks for pointing it out) it's not really an actual TDE issue. I never intended Exe itself to be supported on this mailing list, official TDE has enough to do already. There is actually an address on the desktop "readme" file to post exe-specific reports.
This will anyway be checked and fixed for next build, thanks. In the meantime, users who are not comfortable with configuring sudo, please use su for now.
David
On 05/07/12 03:32, Robert Peters wrote:
Also, when I enter a terminal sudo command, it fails saying that I am not in the sudoers file.
Ah yes, I just noticed, your user is clearly not properly set up in /etc/sudoers, or not in group "sudo" see previous post for fix. Should still be able to use su or sux in terminal.
David
Found installer error (I think, not tested fix yet) User did not get added to group "sudo" as intended.
Quick fix: Try in root (su) terminal:
usermod -a -G sudo $user
(change $user for your actual username) Relogin to apply.
David
Hello David,
Thanks for the replies and information. I booted from the flash drive and edited the installation's /etc/group to include my username - now it works!
Robert
On 7/5/12, David Hare davidahare@gmail.com wrote:
Found installer error (I think, not tested fix yet) User did not get added to group "sudo" as intended.
Quick fix: Try in root (su) terminal:
usermod -a -G sudo $user
(change $user for your actual username) Relogin to apply.
David