All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Hatle <fray@mvista.com>
To: "Prasad, Siva" <Siva.Prasad@smartm.com>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: Root login...
Date: Wed, 10 Oct 2001 13:47:04 -0500	[thread overview]
Message-ID: <3BC497A8.9AE64225@mvista.com> (raw)
In-Reply-To: 35C119252057D511BB9F0003476BF8A208E5E2@freexc01.smartm.com


"Prasad, Siva" wrote:
>
> I used HHL Journeyman 2.0 PPC 7xx to build ramdisk for our custom PPC 750
> board. When I try to execute, it gives the login prompt. But when I type
> 'root' and hit enter, it gives me back login prompt again. Basically it is
> not logging in.
>

It looks like you are missing /bin/login.  Assuming the initscripts
started up properly, take a look at the various logs in "/var/log" and
you should see an error message from getty explaining what is wrong.

Once you add in /bin/login, you will need the pam shared lib,
/etc/pam.d/login and the assorted pam "module" (/lib/security/pam_*) for
what is specified in /etc/pam.d/login.

However, if you don't care about security then you can just create a
file /etc/pam.conf with the following:

# Permit an open system [Dangerous!]
other   account         required        pam_permit.so
other   auth            required        pam_permit.so
other   password        required        pam_permit.so
other   session         required        pam_permit.so

And make sure that you copy /lib/security/pam_permit.so

--Mark


> /bin
> bash cat cp date echo ls mount ping ps sh stty umount
>
> /dev
> console ram0 tty ttyS0
>
> /sbin
> fsck getty halt ifconfig init insmod lsmod modprobe reboot shutdown sulogin
>
> /etc
> fstab (with /dev/root, /dev/ram0 and /proc)
> passwd
> group
> inittad (as is from HHL Journeyman)
> rc.d (as is from HHL Journeyman)
> init.d (as is from HHL Journeyman)
> default (as is from HHL Journeyman)
>
> and create few other directories...
> /root /proc /mnt /usr /tmp /var
>
> -- Siva
>

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

  reply	other threads:[~2001-10-10 18:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-04 22:43 Root login Prasad, Siva
2001-10-10 18:47 ` Mark Hatle [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-10-22 13:58 root login David Kesselring
2003-10-22 14:15 ` Tiemo Krueger - mycable GmbH
2003-10-22 15:12   ` Joerg Ritter
2003-10-23 18:51   ` David Kesselring
2003-10-24  8:57     ` Gleb O. Raiko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3BC497A8.9AE64225@mvista.com \
    --to=fray@mvista.com \
    --cc=Siva.Prasad@smartm.com \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.