LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-14-2012, 04:08 AM   #1
ut0ugh1
Member
 
Registered: Oct 2011
Posts: 59

Rep: Reputation: Disabled
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
 
Old 03-14-2012, 04:55 AM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
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
 
Old 03-14-2012, 06:43 AM   #3
ut0ugh1
Member
 
Registered: Oct 2011
Posts: 59

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by evo2 View Post
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.

Last edited by ut0ugh1; 03-14-2012 at 06:51 AM.
 
Old 03-14-2012, 09:28 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,617

Rep: Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963
Quote:
Originally Posted by ut0ugh1 View Post
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.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Ubuntu 10.04 and Password requests cliffd7 Ubuntu 2 09-26-2010 08:45 AM
How could normal user obtain root password or change root password ckamheng Debian 18 02-18-2009 10:28 PM
I want to avoid password requests newbiesforever Linux - General 7 10-30-2008 03:45 PM
Windws XP requests Password for SAMBA Share 1kyle SUSE / openSUSE 2 04-29-2006 09:06 AM
Can su into root, but password invalid when X app requests it ShyGuy91284 Linux - General 1 04-28-2004 06:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration