You are not logged in.
Hello everyone, just installed Statler and to my surprise everything worked out of the box, except for my keyboard settings. The fix was found easily, but it seems there is a problem with my permissions(so I cannot fix the keyboard issue). If I try sudo the terminal tells me I can`t do this and that it`ll be reported.
Does anyone know how to fix this?
Last edited by droes (2010-08-11 12:16:25)
Offline
This may seem very basic, but given that you have changed your keyboard settings, are you sure the right password is being inputted? I had a similar problem opening synaptic in the terminal. It kept on refusing my password. After changing the keyboard settings and a reboot it started to behave.
"In spite of the cost of living, it's still popular."
Kathleen Norris
Offline
The password is correct, it doesn't give me the standard wrong password error. It seems I somehow didn't give myself admin rights.
Last edited by droes (2010-08-11 12:06:22)
Offline
Your user account is probably not added to sudo
- To fix use visudo as root and add: youruser ALL=(ALL) ALL
I had this on my initial install too > Alpha 2 initial experience
Registered Linux user #503837
Offline
That fixed it, thanks!
Offline
Or maybe just add yourself to the admin group, which is allowed to run sudo commands?
Reboot into recovery mode and run
adduser <username> adminJohn
--------------------
( a boring Japan blog , and idle twitterings )
Offline
John, I sent a PM to you but I'll post here to clarify. In Debian, the sudo group is sudo, not admin as in Ubuntu.
To add oneself to the sudo group one can run in single user mode (or make sure there are no running processes for the user to be edited) usermod -a -G sudo <user>
or as you said in maybe a simpler way, adduser <user> sudo
Offline
^I was surprised to see how different the Ubuntu and Debian versions of /etc/sudoers are. In Ubuntu there's a possible "sudo" group which can run root commands with no password, and the "admin" group for the normal password sudo. In Debian, apart from the "sudo" group instead of Ubuntu's "admin", I found my individual username had also been added like this.
John
--------------------
( a boring Japan blog , and idle twitterings )
Offline
Hi all,
I didn't want to start a new feedback thread so thought I'd add to this one. Dodgy sudo privileges were the only problem that I had on install, everything else seems to be running really well. Solution above fixed sudo privileges.
I'm going to poke around and install some bits so will post if anything comes up. Seems great so far!
Offline
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.