Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux HostsFree MagazinesJobs
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Slackware Linux Help
Reload this Page Cant log in as root
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Slackware Linux Help For help and Discussion about Slackware linux

Reply
 
Thread Tools Display Modes
Old 08-18-2004   #1 (permalink)
Just Joined!
 
Join Date: Aug 2004
Posts: 4
Cant log in as root

I have just installed slackware 10.0 and i cant log in as root (or anything else for that matter).
It usually goes like:

Code:
Computer Login: root  
Password: (the password i set during installation)   
last time logged in...  
You've got mail.   

[quirky saying]    

Computer Login: ROOT!!!!  
Password: (again, the password) 
last time logged in...  
You've got mail.   

[quirky saying]    

Computer Login: WHY WONT YOU LET ME LOGIN AS ROOT!?!?!?!?  
Password: ArghgH!
Incorrect Login.

When i boot off the cd i can log in as root, but thats good for fdisk and nothing else :0P
I think i might be getting booted from the system, because i do get the 'mail' so i must be getting logged out or something....
Any ideas why this might be happening, or even better, how to fix it?

Thanks
Doctor Orange is offline   Reply With Quote
Old 08-18-2004   #2 (permalink)
Linux Engineer
 
Join Date: Sep 2003
Location: Knoxhell, TN
Posts: 1,078
Send a message via MSN to lordnothing
login with a liveCD... mount the partition with /etc on it... edit /mnt/blah/etc/passwd and make sure that the last part of the entry is /bin/bash or /bin/sh that is the shell for the user... the entry will start with the word 'root' (w/o quotes)...

sorry for the lack of punctuation, but a couple of my thoughts ended with a pathname, and i didn't want to confuse you by adding punctuation..
__________________
Their code will be beautiful, even if their desks are buried in 3 feet of crap. - esr
lordnothing is offline   Reply With Quote
Old 08-18-2004   #3 (permalink)
Just Joined!
 
Join Date: Aug 2004
Posts: 4
Thanks alot for that lordnothing.
Il try it out when i get home.

How do i 'mount' a partition on a liveCD?

Thanks again for the help.
Doctor Orange is offline   Reply With Quote
Old 08-18-2004   #4 (permalink)
Just Joined!
 
Join Date: Aug 2004
Posts: 4
root:0:0::/root:/bin/bash

In file:

/mnt/hdd1/etc/passwd

Is that any help?
Thanks.
Doctor Orange is offline   Reply With Quote
Old 08-19-2004   #5 (permalink)
Just Joined!
 
Join Date: Aug 2004
Posts: 4
I just reinstalled without setting a root password and its still doing the same thing!
Doctor Orange is offline   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
 

Free Magazines
Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe
Systems Management News, the newspaper for IT systems administration and data center managers!
Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe
The Enterprise Newsweekly
eWeek is the essential technology information source for builders of e-business.
subscribe
Oracle Magazine
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe
Total Telecom
Total Telecom is "The Economist of the communications industry".
subscribe
More free magazines »



All times are GMT. The time now is 07:54 AM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.2.0