Netboot Mailing List (by thread)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: inet, login




Jesper Krogh wrote:
> 
> What services actually have to be startede, at the DC to be able to log in.
> At this moment i have got:
> 
> S11portmap -> ../init.d/portmap
> S20random -> ../init.d/random
> S30syslog -> ../init.d/syslog
> S40crond -> ../init.d/crond
> S50inet -> ../init.d/inet
> S75keytable -> ../init.d/keytable
> S85gpm -> ../init.d/gpm
> S90xfs -> ../init.d/xfs
> S99local
> 
> Is there anything i am missing which could cause that i am not able to log
> in. ??
> 

One trick I use when building a "custom" distribution is to put the following
into /etc/inittab:

1:2345:respawn:/bin/bash < /dev/tty1 > /dev/tty2 2>&1

in place of the equivalent line that starts mingetty on /dev/tty1 (comment out
the current line and add the line above).

This will give you a bash prompt with no need for a password on the first
console. Password authentication requires a whole raft of libraries and conf.
files to be set up correctly (esp. if you are using PAM). Once you sort out
what needs to be there to make logins work on the other virtual consoles, you
should then remove the above hack as it is a security hole if someone can gain
physical access to your console.

Note that this hack does not set up /dev/tty1 correctly for line editing etc.
(the login process does all that), so some apps (like vi) may behave less
than optimally.

Also, you don't need X Font Server (xfs) running on a diskless machine. Edit
your /etc/X11/XF86Config to use a remote font server instead of a local one.
Mine is set:

	FontPath	"tcp/fontserver:7100"

Cheers,

Bob Edwards.
===========================================================================
This Mail was sent to netboot mailing list by:
Bob Edwards <Robert.Edwards@anu.edu.au>
To get help about this list, send a mail with 'help' as the only string in
it's body to majordomo@baghira.han.de. If you have problems with this list,
send a mail to netboot-owner@baghira.han.de.



For requests or suggestions regarding this mailing list archive please write to netboot@gkminix.han.de.