Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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
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.
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....
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.
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.
Distribution: Windows XP, yup :D Will be back onto Ubuntu probably someday
Posts: 107
Rep:
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.