LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-14-2005, 08:05 PM   #1
FindingWaldo763
LQ Newbie
 
Registered: Dec 2005
Location: United States
Distribution: I dont have a distribution
Posts: 2

Rep: Reputation: 0
Question Username/Password Help


I have just had Linux RedHat installed onto my laptop and everything seems to be working out ok. When everything loads up and the "Username" and "Password" menu displays...well I was not given the option to give a name or password when the Program all started and the person that Installed the software did not ask...so is there anything that I can do from the start menu to change the name and password to something that I could remember and actually use RedHat? Thank You very much.
 
Old 12-14-2005, 08:37 PM   #2
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 56
At the grub boot menu, type e ( edit )
Go to the line which has kernel... in it, and type e ( edit )
Go to the end of the kernel line and type init 1 and press enter
Then, type b ( boot )

That will get you booted into runlevel 1 with no password needed.
From there, you can add a user and password.
For example:
useradd fred
passwd fred

Then, type init 5 and log in as the new user.
 
Old 12-14-2005, 11:23 PM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
Are you saying that this will get you into a secured computer without a password?

How should I protect myself from this---grub password?


For the OP: About this person who installed the SW: He/she should have given you the root login info. Can you ask? I don't know if Homey's solution will get you root privileges---you'll need this sooner or later.
 
Old 12-14-2005, 11:26 PM   #4
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,261

Rep: Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028
Anytime you have direct access to the HW, you can get in somehow eg substitute a boot disk/CD and boot off that...
This is one reason that servers are locked away...
NB: this is true of other OS's as well....
 
Old 12-15-2005, 05:46 AM   #5
manjiri
LQ Newbie
 
Registered: Nov 2005
Posts: 8

Rep: Reputation: 0
After the grub menu appears on the screen press 'b'. u will get to pass kernel parameters. you will have smething like init=/sbin/.....
type init 1 or linux 1 at the end of the stmt. you will get a access to your system in single mode.then type the cmds:

$passwd <- : you can change your password with this break into the system.
 
Old 12-15-2005, 09:02 AM   #6
Mishra100
Member
 
Registered: Jan 2005
Posts: 44

Rep: Reputation: 15
When I installed Solaris, it didn't give me a username/password option. But there could have been a default set. root/password worked for me. It might be the same with this.

The root account is created by default so you know that username is right.

So try root, then try a blank password... Or just try the password "password". When you log in you can make users and/or change passwords.

But try what the guys are saying here anyways. You can probably learn something.
 
Old 12-16-2005, 07:11 AM   #7
manjiri
LQ Newbie
 
Registered: Nov 2005
Posts: 8

Rep: Reputation: 0
redhat linux doesnot work with a blank password.
 
Old 12-18-2005, 07:15 PM   #8
jamie_barrow
Member
 
Registered: Jul 2003
Location: Gauteng, South Africa
Distribution: Windows XP, yup :D Will be back onto Ubuntu probably someday
Posts: 107

Rep: Reputation: 15
Are you guys saying its possible to change the root password without knowing it??? Or to create a user without logging on as root??? If so, its not too secure is it?
 
  


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
username and password no go bmd Linux - Newbie 7 04-06-2005 08:26 PM
username/password sailu_mvn Programming 5 12-21-2004 03:21 AM
UserName and Password luis8460 Red Hat 0 07-08-2004 04:45 AM
Username and Password dance2die Arch 3 09-01-2003 03:32 PM
No username and password Tec1 Linux - Software 1 08-10-2003 09:38 AM


All times are GMT -5. The time now is 06:24 PM.

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