linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Root login...
@ 2001-10-04 22:43 Prasad, Siva
  2001-10-10 18:47 ` Mark Hatle
  0 siblings, 1 reply; 2+ messages in thread
From: Prasad, Siva @ 2001-10-04 22:43 UTC (permalink / raw)
  To: linuxppc-embedded


Hi,

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.

What might be the problem that is causing this?. I tried with just "/bin/sh"
and it directly gives me the shell prompt as expected... when I put
"/sbin/init", it gives this login problem.

Any help would be great.

Am I missing any files???.
I put the following files in ramdisk...

/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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Root login...
  2001-10-04 22:43 Root login Prasad, Siva
@ 2001-10-10 18:47 ` Mark Hatle
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Hatle @ 2001-10-10 18:47 UTC (permalink / raw)
  To: Prasad, Siva; +Cc: linuxppc-embedded


"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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-10-10 18:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-04 22:43 Root login Prasad, Siva
2001-10-10 18:47 ` Mark Hatle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).