LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 12-18-2006, 08:58 AM   #1
trashcan
LQ Newbie
 
Registered: Dec 2006
Posts: 1

Rep: Reputation: 0
How to set root password on Suse Linux (not asked for it at install time)


I have just installed linux SUSE 10.0, surprisingly it did not ask me to enter the password after the 5th CD finished installing. But I guess the software is fully installed because all the 5 CDs were propmted. Now when linux starts it asks me for a password (root), yet I dont remember puting in any password and it wont let me do anything without a password, please help and very very new on linux
 
Old 12-18-2006, 09:13 AM   #2
Acron_0248
Member
 
Registered: Feb 2006
Location: Venezuela
Distribution: Gentoo
Posts: 453

Rep: Reputation: 33
You could boot in single user mode into linux, once you get inside the OS, use the
Code:
passwd
for create a new password or you can use a liveCD, mount the root partition and chroot it so you can be able to use passwd

Other way will be type
Code:
init=/bin/bash
, at the prompt, type
Code:
mount -o remount,rw /
and then type
Code:
passwd
to set a new password



Regards

Last edited by Acron_0248; 12-18-2006 at 09:14 AM.
 
Old 12-18-2006, 10:23 AM   #3
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Could you possibly use better thread titles in future please? When you post a thread, you are told to use descriptive titles.
 
Old 12-18-2006, 10:29 AM   #4
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
Quote:
Originally Posted by Nylex
Could you possibly use better thread titles in future please? When you post a thread, you are told to use descriptive titles.
Agreed. I've edited the thread title so that it reflects the problem.
 
Old 12-18-2006, 11:43 AM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
Is it possible that the default user is given sudo privileges? ( a la Ubuntu and some others)

If so, the just do "sudo passwd root"

The other method is to boot from live CD, mount the partition in question and edit /etc/passwd---find the enrty for root and remove the "x" between two colons. This disables the root password (allows you to log in as root with no password)
 
Old 12-18-2006, 12:33 PM   #6
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
Quote:
Originally Posted by pixellany
Is it possible that the default user is given sudo privileges? ( a la Ubuntu and some others)

If so, the just do "sudo passwd root"

The other method is to boot from live CD, mount the partition in question and edit /etc/passwd---find the enrty for root and remove the "x" between two colons. This disables the root password (allows you to log in as root with no password)
Suse like older distros does not use sudo like Ubuntu, so a root account is necessary. The root password thing seems to affect many users installing from the cd sets.
 
  


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
wasn't asked for root password during install... what to do ? willy_9 Suse/Novell 13 10-18-2009 02:32 AM
didn't set root password during install/config fsuchucky3 Suse/Novell 3 08-17-2006 08:24 PM
Fresh Install Never Asked to set up users bfalke1 Suse/Novell 6 01-30-2006 10:18 AM
users can access root withouh being asked for a password amer_58 Linux - Newbie 4 08-20-2005 11:56 PM
unable to install LILO nor set root password aquilolumen Slackware - Installation 10 07-07-2005 01:15 PM


All times are GMT -5. The time now is 09:18 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration