LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 12-09-2005, 04:15 AM   #1
willy_9
Member
 
Registered: Oct 2005
Location: France
Distribution: Mandriva 2008.0
Posts: 35

Rep: Reputation: 15
wasn't asked for root password during install... what to do ?


Hi everyone,

As other people on the forum, I've experienced problems while installing Suse 0SS 10.0 : some packages could'nt be extracted from CD (including kernel ). I chose "ignore" to continue with installation, managed to install them by relaunching the install using "update" mode, but was never asked once the root password ! I can boot my system, everything is running fine up to log screen, but since I haven't set the root password nor any other user, I can't log in !

I have read somewhere on this forum that an installation with ACPI disabled might solve the issue, but before I restart the whole process, I'd like to know if something else can be done :
  • is there a default root password ?
  • can a repair install solve the problem ?

My laptop is nothing near a blast, so I'd prefer avoid the 2h full installation if I can...

Thanks in advance !
 
Old 12-09-2005, 07:37 AM   #2
broch
Member
 
Registered: Feb 2005
Distribution: Slackware-current 64bit
Posts: 465

Rep: Reputation: 32
Quote:
Originally Posted by willy_9
Hi everyone,

As other people on the forum, I've experienced problems while installing Suse 0SS 10.0 : some packages could'nt be extracted from CD (including kernel ). I chose "ignore" to continue with installation, managed to install them by relaunching the install using "update" mode, but was never asked once the root password ! I can boot my system, everything is running fine up to log screen, but since I haven't set the root password nor any other user, I can't log in !

I have read somewhere on this forum that an installation with ACPI disabled might solve the issue, but before I restart the whole process, I'd like to know if something else can be done :
  • is there a default root password ?
  • can a repair install solve the problem ?

My laptop is nothing near a blast, so I'd prefer avoid the 2h full installation if I can...

Thanks in advance !
select failsafe boot option and set it to init s
this will allow to login without password but with root priviledges. run passwd
and enter root password

Now while still in single mode you can create user/password

You may have other problems later too since installation was evidently borked.
 
Old 12-12-2005, 03:46 AM   #3
willy_9
Member
 
Registered: Oct 2005
Location: France
Distribution: Mandriva 2008.0
Posts: 35

Original Poster
Rep: Reputation: 15
Hi Broch,

Thanks for helping me, even though I've finally decided to reinstall completely... Everything went fine "install with ACPI disabled". Just had to reboot without CD1 in CD-Drive cause it couldn't mount CD2. Great forum for giving all these tips !!!

Anyway, Suse is GREAT : first distro I've seen detecting my Belkin F5D6020v3 wifi card and install it without needing to ndiswrapper anything...

Cheers,

Willy_9
 
Old 12-12-2005, 12:02 PM   #4
EclipseAgent
Member
 
Registered: Oct 2005
Location: California
Distribution: SLED 10, openSuSE 10.2, Ubuntu Drapper
Posts: 713

Rep: Reputation: 30
Quote:
Originally Posted by willy_9
Hi Broch,

Thanks for helping me, even though I've finally decided to reinstall completely... Everything went fine "install with ACPI disabled". Just had to reboot without CD1 in CD-Drive cause it couldn't mount CD2. Great forum for giving all these tips !!!

Anyway, Suse is GREAT : first distro I've seen detecting my Belkin F5D6020v3 wifi card and install it without needing to ndiswrapper anything...

Cheers,

Willy_9
You could have changed with sudo passwd root
 
Old 12-12-2005, 12:27 PM   #5
broch
Member
 
Registered: Feb 2005
Distribution: Slackware-current 64bit
Posts: 465

Rep: Reputation: 32
to change root password, you need to provide the old one first. He did not know it (never asked for root password).
 
Old 12-12-2005, 03:20 PM   #6
EclipseAgent
Member
 
Registered: Oct 2005
Location: California
Distribution: SLED 10, openSuSE 10.2, Ubuntu Drapper
Posts: 713

Rep: Reputation: 30
Quote:
Originally Posted by broch
to change root password, you need to provide the old one first. He did not know it (never asked for root password).
Ok, boot with other media, mount the drive with RW and modify the shadow file and take out the password
 
Old 12-12-2005, 06:48 PM   #7
broch
Member
 
Registered: Feb 2005
Distribution: Slackware-current 64bit
Posts: 465

Rep: Reputation: 32
why would I need "any other media"?
In this case you dont need to edit anything. Neither shadow not password files are corrupted.
Boot to single mode and create password.

However if you really like to complicate things:
buy and install second HD. Install another linux (dont use CD), mount disk with first installation, edit files.
Boot to the first installation and create/check root password.
remove second disk and try return it wherever you have bought it.

Anyway, willy_9 resolved his problem.
 
Old 12-13-2005, 02:07 AM   #8
willy_9
Member
 
Registered: Oct 2005
Location: France
Distribution: Mandriva 2008.0
Posts: 35

Original Poster
Rep: Reputation: 15
Yeah, I solved the problem by a full reinstall, since I was expecting other problems as Broch was suspecting... Thanks anyway for your interest in my problem !

Willy
 
Old 12-13-2005, 03:50 PM   #9
EclipseAgent
Member
 
Registered: Oct 2005
Location: California
Distribution: SLED 10, openSuSE 10.2, Ubuntu Drapper
Posts: 713

Rep: Reputation: 30
Quote:
Originally Posted by broch
why would I need "any other media"?
In this case you dont need to edit anything. Neither shadow not password files are corrupted.
Boot to single mode and create password.

However if you really like to complicate things:
buy and install second HD. Install another linux (dont use CD), mount disk with first installation, edit files.
Boot to the first installation and create/check root password.
remove second disk and try return it wherever you have bought it.

Anyway, willy_9 resolved his problem.
Why do a second installation, use a Live CD and mount the /dev/hda1 or where ever he needs
 
Old 10-16-2009, 04:01 AM   #10
Khorny
LQ Newbie
 
Registered: Oct 2009
Posts: 2

Rep: Reputation: 0
Root password

Hi all!

I had the same problem when instaling suse 11.1 I wasn't asked for the root pass during install, so I searched the internet and varius forums how to make one or if exist a default one. While playing around with sudo root passwd to change one (no success) I changed my user pass with command "passwd". And now the strange thing happened. When I tried to install updates from Yast (when starting Yast) I was asked for Root pass again. I tried luck (stupid but I tried) and I wrote my old user password. It accepted and starting installing.

So solution simpler than was stated here in this forum (no offence, u helped alot of ppl including me to start using linux system) is:

1. change ur USER password by starting terminal and write "passwd"
2. Try to change ur root pass with "sudo root passwd"

Hope I help anyone who comes to this problem

I am newbie at linux but I don't fear any strange things and systems wich will come further in my computing carreer

HF & Best regards

Khorny
 
Old 10-16-2009, 05:13 AM   #11
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
It I am correct in opensuse 11 if you not make a separate password for root during install than the user password is also root password.
But you can change it at same time when entering thye user account
 
Old 10-17-2009, 01:12 PM   #12
Khorny
LQ Newbie
 
Registered: Oct 2009
Posts: 2

Rep: Reputation: 0
Wink

Quote:
Originally Posted by ronlau9 View Post
It I am correct in opensuse 11 if you not make a separate password for root during install than the user password is also root password.
But you can change it at same time when entering thye user account
Yes u r right. user password is also root password, but u can use ur root password when u change ur user password. It came to conflict, cause root password must not be the same as user password. And yes u can change both with no reboot betwen but u must change ur user password first, so u release ur root password and the u can change ur root password. than u can raboot, or try ur pass.

I installed suse 3 times (fresh instal) allways without entering root password at install, just to check if my statement is true, and it is.
 
Old 10-17-2009, 01:34 PM   #13
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
I once did the same, and had LVM mounting issues at the same time. I found that zeroing out the root password from a live disk didn't help. So I simply copied and pasted my regular user's hash to root's /etc/passwd password field and logged in using my regular password. Once I was root, I could change root's password knowing the old password.
 
Old 10-18-2009, 03:32 AM   #14
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
Well this issue about the password come up from opensuse 11.
I did install opensuse 11.0 and 11.1 both as a clean install using the same password for root and user
The password contains of alpha and numeric 8 digits long , I do not have any issue with it
It just works fine
 
  


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
users can access root withouh being asked for a password amer_58 Linux - Newbie 4 08-21-2005 12:56 AM
setting root password during install jimbrechin Ubuntu 4 05-17-2005 05:06 AM
Fedora install without asking for a password for root bbowlsbey Fedora - Installation 1 07-21-2004 02:01 AM
Redhat 9.0 install problem - root password saintcrew Linux - General 5 07-06-2003 01:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

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

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