Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I have XFCE Debian on an old PowerPC PowerBook G4. When I go to open Synaptic Package Manager, a window pops up asking for my administrative password. I enter the password I normally use for sudo in Terminal, but it doesn't work. I enter nothing, but it doesn't work. I try various other ones - like 'debian', 'synaptic' and 'password', but that doesn't work either. Why doesn't it work?

share|improve this question
    
Have you defined a root password on installation? However you can try launching synaptic from terminal with sudo. –  enzotib Dec 28 '11 at 17:57
    
@enzotib how do you launch synaptic from terminal? –  gadgetmo Dec 28 '11 at 18:00
    
sudo synaptic –  enzotib Dec 28 '11 at 18:06
    
You should never launch graphical apps using sudo (or you risk all sorts of issues, notably ~/.Xauthority owner changing and all the issues that come with that). Use gksudo or kdesudo instead. –  Chris Down Dec 28 '11 at 20:22
add comment

3 Answers

up vote 4 down vote accepted

The password you use for sudo is your password. The administrative password is the password of the user root.

If you forgot it, set it up again:

% sudo su -
[sudo] password for *your user*: *enter pwd for your user*
# passwd
*enter new password for user root*
# ^D
share|improve this answer
add comment

1) I am writing this from Xfce Debian, so I have a little experience.

2) I do not understand any reference above to sudo because Xfce Debian DOES NOT HAVE SUDO INSTALLED BY DEFAULT.You can sudo this and sudo that, but unless you have consciously installed sudo AND added yourself to the sudoers, then all is to no avail.

3) Instead of sudo you need to change from your account to root and you do this with the command: su

Then you could for example run (from root) synaptic.

Find simple instructions about how to add sudo at e.g. http://wiki.dennyhalim.com/debian-minimal-desktop-installation#toc4

share|improve this answer
add comment

Angus is right in a way, but I wouldn't recommend using root, personally. This is what I figured out after a little reading since this was annoying for myself - I already understood what the difference between gksu and gksudo were, but I didn't like it using gksu by default. This is where your trouble lies as well - you were expecting gksudo. There is another app, called gksu-properties that you should run. From this, you set sudo as the default instead of su. This will give you your desired result.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.