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.
if u cud tell me the procedure thru commandline, suppose if i dont hav access to the GUI, and can access jus the commandline, then wat do i do to get into the root if i dont know the password???
the commands like init 5 doesnt work...
thanx anyways for ur kind support. this is a nice place for linux learners, great place, great people.
you can't directly if you don't know the password.... when your system boots up, you need to add a "1" or "single" to the boot options, then it will load into runlevel 1, where you will automatically be root. it is not possible any other way (without setting it up in the first pace, which would require root permissions...) as that would totally undermine the security.
As far as I know, yer skroowed amanjsingh. If you don't know the root account password (or are you just talking about "/" in the file tree?) I suppose there are those with the hacker chops to do so but for mere mortals like us, you'll just have to re-install.
Originally posted by acid_kewpie
you can't directly if you don't know the password.... when your system boots up, you need to add a "1" or "single" to the boot options, then it will load into runlevel 1, where you will automatically be root.
Not in Slackware ;} ... only in the by default
insecure things, like MDK and RH...
You'd have to use the init=/bin/bash thing in Slack :)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.