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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
03-29-2004, 02:21 PM
|
#1
|
Member
Registered: Mar 2004
Location: New York, USA
Distribution: Debian, Ubuntu
Posts: 71
Rep:
|
going to root without password thru command line
hey guys,
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.
regards
aman
|
|
|
03-29-2004, 02:27 PM
|
#2
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
Yeah, right :}
|
|
|
03-29-2004, 02:31 PM
|
#3
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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.
|
|
|
03-29-2004, 02:33 PM
|
#4
|
Member
Registered: Oct 2003
Location: Springfield, MO
Distribution: Ubuntu, IPCop
Posts: 33
Rep:
|
uhhhhhh
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.
Am I off base here guys?
For the GUI, have you tried typing "startx"?
|
|
|
03-29-2004, 03:45 PM
|
#5
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
Quote:
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 :)
Cheers,
Tink
|
|
|
03-30-2004, 12:20 AM
|
#6
|
Member
Registered: Mar 2004
Location: New York, USA
Distribution: Debian, Ubuntu
Posts: 71
Original Poster
Rep:
|
thanx a lot guys, i know wat to do now,
REINSTALL...
thanx for ur support. this is a nice place with nice ppl like u.
regards
aman
|
|
|
03-30-2004, 12:38 AM
|
#7
|
Member
Registered: Mar 2004
Location: Wellington, New Zealand
Distribution: Debian
Posts: 127
Rep:
|
Sounded like linuxlala covered how to solve your problem in the other post, without reinstalling.
|
|
|
All times are GMT -5. The time now is 12:11 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|