Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have 12.04 freshly installed in my laptop. Recently I lost my rights as administrator. Hereare the problems:

  1. unable to do updates from Update Manager (though no problem if I do it from terminal).
  2. unable to shutdown/restart. When I press those buttons, I will only make the system logout. (no problem reboot/shutdown from terminal, though).
  3. unable to store data into my FAT32 partitions. It says Permission denied.

It seems I lost my administrator privileges from GUI menu.

How to solve this ?

Please help me.

share|improve this question
    
from a teriminal run the following commands lsb_release -a; id and include the results in your question. –  Warren Hill Feb 22 '13 at 8:04
    
lsb_release -a; id No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 12.04.2 LTS Release: 12.04 Codename: precise uid=1000(gusanto) gid=1000(gusanto) groups=1000(gusanto),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),109(lpadmin),‌​124(sambashare) –  user115334 Feb 25 '13 at 2:40
add comment

1 Answer 1

If you do still have the password for sudo.

Try sudo

If it do not work, run

chmod +777 <filename>
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.