Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 09-09-2009, 03:41 PM   #1
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.
Old 09-09-2009, 03:47 PM   #2
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, 03:48 PM   #3
Registered: Mar 2008
Posts: 16,873

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

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

See also here.

Last edited by jefro; 09-09-2009 at 03:51 PM.
Old 09-09-2009, 03:49 PM   #4
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, 04:12 PM   #5
Senior Member
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375

Rep: Reputation: 217Reputation: 217Reputation: 217
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, 04:36 PM   #6
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, 05:41 PM   #7
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
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, 06:39 PM   #8
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, 06:51 PM   #9
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, 06:55 PM   #10
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,395

Rep: Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395
Or you could just ask the shop....
Old 09-09-2009, 07:13 PM   #11
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, 10: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, 03:40 PM   #13
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, 03:50 PM   #14
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


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

All times are GMT -5. The time now is 12:17 PM.

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