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 09-09-2009, 04:41 PM   #1
patsyking
Member
 
Registered: Dec 2008
Posts: 35

Rep: Reputation: 15
Question root password


I need to find out what my root password is. As the shop where I got my netbook from put the OS in for me I don't know what the password is. I've got Linpus Lite.
Thanks.
 
Old 09-09-2009, 04:47 PM   #2
ramram29
Member
 
Registered: Jul 2003
Location: Miami, Florida, USA
Distribution: Debian
Posts: 848
Blog Entries: 1

Rep: Reputation: 47
You won't be able to find out what the password is but you can change it. First you'll have to boot with a rescue CD or the installation CD, then you chroot into the root partition of the machine and run passwd. I've done this before.
 
Old 09-09-2009, 04:48 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,383

Rep: Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198
Open terminal.
sudo passwd
(if it allows)
enter new password

See if it works (I almost doubt it)
Good luck.

See also here.

http://www.linuxforums.org/forum/lin...-password.html

Last edited by jefro; 09-09-2009 at 04:51 PM.
 
Old 09-09-2009, 04:49 PM   #4
psmc
LQ Newbie
 
Registered: Sep 2009
Posts: 3

Rep: Reputation: 0
I am not sure if the root password can be hacked easily. I would try to contact the shop and see what the password is. Its probably something simple. I can't beleive they didn't tell you what it is.
 
Old 09-09-2009, 05:12 PM   #5
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 5.4, Mac OS 10.4 (tiger)
Posts: 1,005

Rep: Reputation: 79
I would follow the steps first given by jefro, you'd only be going to the steps given by ramram29 if the steps Jefro gave didn't work but even so you probably don't need a liveCD their are ways to load single user mode and depending on your distribution, single user mode may not be passworded anyways.

No psmc, It's a very very easy thing to change the root password in Linux when you have physical access, you just need to know how to do it.
 
Old 09-09-2009, 05:36 PM   #6
kapilbajpai88
Member
 
Registered: Jul 2008
Location: Bangalore, India
Distribution: RHEL
Posts: 235

Rep: Reputation: 41
I think entering single-user mode, can resolve the problem (if it is not password-protected).
AFter entering into single user mode, you can change the password for root. I think that I tried this way once, and that worked for me when I lost root password for my RHEL-5 machine.
 
Old 09-09-2009, 06:41 PM   #7
kzutter
Member
 
Registered: Nov 2007
Location: Carson City, NV USA
Distribution: Various, but always Debian based
Posts: 70

Rep: Reputation: 15
You may not need one.

You may not need one. Some distros now come without a root password set.
In that case, you use the sudo command.

Can you
Code:
sudo su
with your regular user password?
If you can, then that is all you need, or you can set a root password from there.
 
Old 09-09-2009, 07:39 PM   #8
patsyking
Member
 
Registered: Dec 2008
Posts: 35

Original Poster
Rep: Reputation: 15
I don't use a password when I turn on the netbook so I have no idea what any passwords are sorry.
 
Old 09-09-2009, 07:51 PM   #9
manwithaplan
Member
 
Registered: Nov 2008
Location: ~/
Distribution: Arch || Sidux
Posts: 393

Rep: Reputation: 45
I personally would install a different distro of choice. This way you get what you want, and better control of the notebook. Linpus lite is very restrictive.
 
Old 09-09-2009, 07:55 PM   #10
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
Or you could just ask the shop....
 
Old 09-09-2009, 08:13 PM   #11
nathanpc
Member
 
Registered: Aug 2009
Location: Brazil
Distribution: Ubuntu Lucid
Posts: 45

Rep: Reputation: 15
Ask the shop as our friend chrism01 said, or you can type sudo passwd in the terminal to modify the password.

I don't know, but i think that those distros don't came with a password to root.
 
Old 09-09-2009, 11:43 PM   #12
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
Was it the shop that installed Linpus Lite or was it pre-installed by the manufacturer?

If this is about an Acer Aspire One, the root password is the password that you specified when you first switched your system on.
 
Old 09-10-2009, 04:40 PM   #13
ramram29
Member
 
Registered: Jul 2003
Location: Miami, Florida, USA
Distribution: Debian
Posts: 848
Blog Entries: 1

Rep: Reputation: 47
I'm assuming he cannot log into the laptop since he does not know the root password. Therefore 'sudo su' will not work - that only works after you login. If the root password needs to be reset then the only choice is through a rescue CD like I said aboved. I've done it like half a dozen times.
 
Old 09-10-2009, 04:50 PM   #14
Wang-Lee
LQ Newbie
 
Registered: Mar 2009
Posts: 4

Rep: Reputation: 0
can u login in this machine ?

if yes;
to change the root password, use Alt-F2 to run Terminal, then change to root user with ísudo suí and then change the password with passwd
 
  


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
How could normal user obtain root password or change root password ckamheng Debian 18 02-18-2009 11:28 PM
Change my root password in Debian Linux if I have the current password? panseluta Linux - Newbie 2 12-28-2008 03:02 AM
How to retrieve( or reset) root password in Mandrake Linux, as I forgot my password? Reghunath Linux - Software 4 05-08-2008 05:11 AM
Password Recovery in Edubuntu 7.04 - In Terminal, Root Login : su , password : ????? farhannaeem13 Linux - Security 3 11-30-2007 10:59 AM


All times are GMT -5. The time now is 09:17 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