On Sat, 12 Jan 2002, [iso-8859-1] Simon Small wrote:
> my 'Xmas project' was to install the smallest number of RPMs
This was only a project--but if you want to do this for real, then I would
really recommend doing it with Debian (www.debian.org).
> Now, if I 'cat /mnt/mini/etc/passwd', I get
> 'root::0:0:root:/root:/bin/bash' (which means no
> password for root?).
You said you had Shadow installed; so it is /etc/shadow that actually
contains the password hash.
> Using 'chroot /mnt/mini/ passwd
> root' gives
> Changing password for user root
> New UNIX password: ...
> Retype new UNIX password: ...
> PAM_pwdb[332]: password for (root/0) changed by
> ((null)/0)
> passwd: all authentication tokens updated
> successfully
The `PAM_pwdb...' would normally end up sysloged somewhere, often
/var/log/auth.log; This has been sent to `stderr' instead--possibley
because of a failure caused by being chroot()'ed ?
> Don't know what you mean by pam structure in /etc/. If
> they are in the packages above then I think they are
> in.
/etc/pam.d/*
/etc/security/
I suspect you have a majorly broke system (syslog, and lots of PAM for
example are missing, it really depends what you count as a `fullish, but
minimal' system); and anything from the RedHat world generally seems to be
setup for $LARGE_INSTALL_FOOTPRINT, whether directly, or through dependency.
-Paul
--------------------------------------------------------------------
http://www.lug.org.uk http://www.linuxportal.co.uk
http://www.linuxjob.co.uk http://www.linuxshop.co.uk
--------------------------------------------------------------------
This archive was generated by hypermail 2.1.3 : Sat 12 Jan 2002 - 22:25:13 GMT