Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 08-05-2004, 04:53 PM   #1
LQ Newbie
Registered: Aug 2004
Posts: 1

Rep: Reputation: 0
Question Problems with console login on newly created root filesystem (for PXEboot)

I am passing a diskless workstation a compressed root filesystem that is copied from a server (chopped down). I am only intereted in text consoles being available on the client (runlevel 3).

The diskless workstation goes well up to the login:

RedHat Linux release 9 (Shrike)
Kernel 2.4.20-8 on and i686

(none) login:

When I log in as root I get the following error:

Login incorrect

There is no "password" prompt displayed. It simply cycles to the login prompt again.

When I fool around with the /etc/pam.d/login file (such as commenting out the "auth required" line) the behaviour changes. In this specific case it causes the "Login incorrect" message to be flashed briefly rather than to stay on screen.

Among other files, the root filesystem that is prepared for the client has (copied from the server, which works):

/etc/pam.d/* ( that is, all the files in the server's /etc/pam.d directory)

I am unfamiliar with the login process so I am asking for help.

1) Are there files I am missing?
2) Is it possible to get a login without authentication (log straight into root)? If so, how?

Thanks for your help,
Old 08-05-2004, 06:11 PM   #2
Senior Member
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,991

Rep: Reputation: 76
Depending on your setup, you may be missing /etc/shadow (used to store the encrypted passwords without giving read access to all and sundry).

You can also boot straight into root, but I don't know how off-hand. Putting "su --login" near the end of the boot scripts might work.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
gui login failed despite users created. but Text mode + root + startx works OK Emmanuel_uk VectorLinux 2 11-21-2005 04:41 PM
Problem in creating filesystem for newly created partition. appas Linux - Software 2 08-21-2004 04:39 AM
I can't login with newly created user r_ibsen Linux - Newbie 2 06-19-2004 09:32 AM
cannot login as newly created user in terminal linoops Linux - Newbie 1 06-04-2004 09:07 PM
Login problems after account is created ipsrus Linux - Newbie 2 05-04-2004 04:11 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:12 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration