LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-17-2013, 01:13 AM   #1
keshav suman
LQ Newbie
 
Registered: Jan 2013
Posts: 2

Rep: Reputation: Disabled
password problem


E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
what can i do?
my facebook service applicaton pakege not found.
whats the problem?
tryed many times to download this application from ovi.
plz help.
 
Old 01-17-2013, 01:24 AM   #2
curious95
Member
 
Registered: Oct 2012
Location: /home/v
Distribution: Slackware 14.0
Posts: 83

Rep: Reputation: Disabled
try going root and executing the command:
Code:
sudo -s
 
Old 01-17-2013, 02:10 AM   #3
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,800
Blog Entries: 4

Rep: Reputation: 286Reputation: 286Reputation: 286
Switch to root and then try it again:
Code:
~$ sudo su - root
Enter your password:
 
Old 01-18-2013, 12:41 AM   #4
keshav suman
LQ Newbie
 
Registered: Jan 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
~ $ sudo -s
Password:
Sorry, try again.
Password:
Sorry, try again.
Password:

it tried, but don't know my password. any by defult code?
 
Old 01-18-2013, 12:46 AM   #5
celticdevildog
LQ Newbie
 
Registered: Jan 2013
Location: New Mexico
Distribution: RHEL, SuSE, CentOS, bt, LFS
Posts: 21

Rep: Reputation: Disabled
The sudo password will be the same as your account password.
 
Old 01-18-2013, 01:41 AM   #6
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,241

Rep: Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325
You can get to root by

1.
Code:
su -
and giving the root password when prompted

OR
2.
Code:
sudo  su -
and giving your user (not root) passwd, depending on how your system was setup

Try both and see what happens.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Password problem Ndjanahx Linux - Newbie 11 08-16-2010 05:52 AM
Password problem hraposo Ubuntu 1 10-10-2007 01:34 PM
su password problem joaoPinto Linux - Newbie 4 08-28-2006 11:46 AM
password problem phoenix_fei Programming 1 06-22-2005 10:23 AM
su password problem gshok108 Linux - General 3 01-02-2004 08:44 AM


All times are GMT -5. The time now is 05:38 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration