View previous topic :: View next topic |
Author |
Message |
ville-v n00b
Joined: 09 Apr 2013 Posts: 7
|
Posted: Thu May 02, 2013 8:58 am Post subject: Can't use sudo or su |
|
|
I accidentally used "chmod 777 */*/*" at / directory (at least I think that is the cause) and now I can no longer use sudo or su.
Code: | su
Salasana: (Password)
setgid: Toiminto ei ole sallittu | Translation: setgid: Action is not allowed.
Code: | sudo
sudo: todellinen käyttäjätunniste ei ole 0, onko sudo asennettu setuid root -käyttöoikeuksilla? | Translation: sudo: real user identifier is not 0
How do I fix this? |
|
Back to top |
|
|
xaviermiller Bodhisattva
Joined: 23 Jul 2004 Posts: 8708 Location: ~Brussels - Belgique
|
Posted: Thu May 02, 2013 9:02 am Post subject: |
|
|
Hello,
Are your user in the "wheel" group (for su) or in the "sudoers" file (for sudo) ? _________________ Kind regards,
Xavier Miller |
|
Back to top |
|
|
ville-v n00b
Joined: 09 Apr 2013 Posts: 7
|
Posted: Thu May 02, 2013 9:12 am Post subject: |
|
|
XavierMiller wrote: | Hello,
Are your user in the "wheel" group (for su) or in the "sudoers" file (for sudo) ? |
Yes, both. I have been using sudo and su without problems for months.
Some more information. This is a desktop computer running KDE. I was executing the aforementioned command in root console window when I noticed it was running in a wrong directory, so I closed the window. When I opened another console window, this problem appeared. Restarting the computer does not work. |
|
Back to top |
|
|
aCOSwt Bodhisattva
Joined: 19 Oct 2007 Posts: 2537 Location: Hilbert space
|
Posted: Thu May 02, 2013 10:12 am Post subject: |
|
|
- What happens if you try to su from a standard tty ?
- What happens if, under a konsole, you kdesu whatever ? _________________
|
|
Back to top |
|
|
ville-v n00b
Joined: 09 Apr 2013 Posts: 7
|
|
Back to top |
|
|
|