You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
shadow/tests
Masatake YAMATO 18b8095a8d tests: add a case for testing -F option of useradd 2 months ago
..
chage fixed typo in login.defs 10 months ago
chroot fixed typo in login.defs 10 months ago
chsh tests: replace egrep -> grep -E 5 months ago
cktools spelling: with-an 3 years ago
common Work around git safe.directory enforcement 5 months ago
convtools tests: replace egrep -> grep -E 5 months ago
cptools spelling: nonexistent 5 years ago
crypt fixed typo in login.defs 10 months ago
debian Update list of files in login and passwd packages 8 years ago
expiry spelling: display its 5 years ago
failures fixed typo in login.defs 10 months ago
grouptools fixed typo in login.defs 10 months ago
libsubid nss test_range: make sure /etc/nsswitch.conf and /etc/subuid exists 9 months ago
log spelling: multiple 5 years ago
login fixed typo in login.defs 10 months ago
newgidmap fix newuidmap testcase 9 months ago
newuidmap fix newuidmap testcase 9 months ago
newusers fixed typo in login.defs 10 months ago
passwd spelling: password 5 years ago
split_groups fixed typo in login.defs 10 months ago
su tests: replace egrep -> grep -E 5 months ago
subids tests: add a case for testing -F option of useradd 2 months ago
usertools fixed typo in login.defs 10 months ago
README use a geographically close URL 1 year ago
bug332198-test.exp Add tests from the old svn tree 8 years ago
bug334803-test.exp spelling: typical 5 years ago
cleanup.sh Add cleanup script 8 years ago
coverage.sh Add tests from the old svn tree 8 years ago
run_all tests: add a case for testing -F option of useradd 2 months ago
run_all.coverage tests: add a case for testing -F option of useradd 2 months ago
run_some run_some: exit error if there were failed tests 9 months ago

README

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://deb.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