LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Root password requests disappeared (https://www.linuxquestions.org/questions/linux-newbie-8/root-password-requests-disappeared-934364/)

ut0ugh1 03-14-2012 04:08 AM

Root password requests disappeared
 
I have an ubuntu 10.04 installation, since 3 days all root operations have been disappeared:
Code:

user@user:~$ sudo apt-get install -f && sudo apt-get update && sudo apt-get dist-upgrade && sudo apt-get upgrade
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze     
Lettura informazioni sullo stato... Fatto
I seguenti pacchetti sono stati installati automaticamente e non sono pił richiesti:
  python-numeric python-rainbow libcgal4 libgnomecanvasmm-2.6-1c2a
  python-iniparse libgnomemm-2.6-1c2 libgconfmm-2.6-1c2
  libgnome-vfsmm-2.6-1c2a libnss-rainbow2 libphysfs1 libgnomeuimm-2.6-1c2a
  dvb-apps
Usare "apt-get autoremove" per rimuoverli.
0 aggiornati, 0 installati, 0 da rimuovere e 0 non aggiornati.
Scaricare:1 http://dl.google.com stable Release.gpg [198B]
Ign http://dl.google.com/linux/earth/deb/ stable/main Translation-it         
Trovato http://liveusb.info all Release.gpg


evo2 03-14-2012 04:55 AM

Hi,

since you didn't ask any questions, I'll have a guess.

Q. Why are there no new packages to upgrade to?
A. That may depend on what mirror you are using. If you post the contents of your /etc/apt/sources.list we may be able to help.

Evo2.

PS. To increase the chance that people will be able to read the text from the terminal, it is better to post it in English (actually I think this may be a "rule" of the forum). To do so you can run the following in your terminal:
Code:

export LANG=C

ut0ugh1 03-14-2012 06:43 AM

Quote:

Originally Posted by evo2 (Post 4626436)
Hi,

since you didn't ask any questions, I'll have a guess.

Code:

user@user:~$ sudo apt-get install -f && sudo apt-get update && sudo apt-get dist-upgrade && sudo apt-get upgrade
Reading package lists... Done
Building dependency tree     
Reading state information... Done
The following packages were automatically installed and are no longer required:
  python-numeric python-rainbow libcgal4 libgnomecanvasmm-2.6-1c2a
  python-iniparse libgnomemm-2.6-1c2 libgconfmm-2.6-1c2
  libgnome-vfsmm-2.6-1c2a libnss-rainbow2 libphysfs1 libgnomeuimm-2.6-1c2a
  dvb-apps
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Get:1 http://dl.google.com stable Release.gpg [198B]
Hit http://security.ubuntu.com lucid-security Release.gpg                     
Hit http://liveusb.info all Release.gpg                                       
Hit http://ppa.launchpad.net lucid Release.gpg                               
Hit http://ppa.launchpad.net lucid Release.gpg

as you can see there is no request for root password even if "user" is a normal user. why? how can I get back root password request? these are the questions.

TB0ne 03-14-2012 09:28 AM

Quote:

Originally Posted by ut0ugh1 (Post 4626487)
Code:

user@user:~$ sudo apt-get install -f && sudo apt-get update && sudo apt-get dist-upgrade && sudo apt-get upgrade
as you can see there is no request for root password even if "user" is a normal user. why? how can I get back root password request? these are the questions.

You're using sudo. So, someone has probably changed the sudoers file (using visudo), to allow authorized users to run root level commands without the password. This:
Code:

# Allow people in group wheel to run all commands
%wheel        ALL=(ALL) ALL

# Allow people in the group wheel to run all commands, without a password
%wheel  ALL=(ALL) NOPASSWD: ALL

is something you should look for in the /etc/sudoers file. Note the "NOPASSWD" field. It'll probably (maybe?) be different in yours, but you can probably see what you should change. Remove the "NOPASSWD:" from the relevant line in your file, and save the changes. And be *SURE* to use visudo to edit the file.


All times are GMT -5. The time now is 08:25 AM.