Files
shadow/tests
nekral-guest 156bd855d4 Since chpasswd is now PAM enabled, the crypt tests are passed with chgpasswd.
Do not copy the database which should not change. Directly compare the system files with the files from config/.
Update some test descriptions.
2009-05-09 22:39:12 +00:00
..
2009-04-12 02:23:55 +00:00
2008-09-14 12:20:52 +00:00
2009-04-06 00:01:30 +00:00
2009-04-10 22:47:47 +00:00
2009-03-16 23:19:40 +00:00
2009-04-15 21:55:36 +00:00
2009-04-15 23:35:43 +00:00
2009-04-15 23:35:57 +00:00
2009-04-15 23:36:17 +00:00

This testsuite is NOT SECURE: it will temporarily change your passwords file
with known passwords.
You should run it on a chroot, or on a secured dedicated system.



To test a Debian system:
	$ mkdir sid-chroot
	$ sudo debootstrap sid sid-chroot/ http://ftp.fr.debian.org/debian/
edit or copy a sources.list
	$ sudo cp /etc/apt/sources.list sid-chroot/etc/apt/
edit or copy a resolv.conf
	$ sudo cp /etc/resolv.conf sid-chroot/etc/
	$ su - root -c "chroot sid-chroot/ /bin/bash"
	# mount -t proc proc /proc
	# mount -t devpts devpts /dev/pts
	# aptitude update
	# aptitude install expect
	# cd /dev ; mknod --mode=666 /dev/ptmx c 5 2