The following is a demonstration of installing and using the crypt_3rot13 library. This allows the system to encrypt passwords for /etc/shadow using the 3ROT13 (Triple-ROT13) encryption algorithm. Installation Example, # gcc -c -o crypt_3rot13.32.o crypt_3rot13.c # ld -G -o crypt_3rot13.32.so.1 crypt_3rot13.32.o # # cp -i crypt_3rot13.32.so.1 /usr/lib/security # # echo 3rot13 crypt_3rot13.32.so.1 >> /etc/security/crypt.conf # ed /etc/security/policy.conf 956 /^CRYPT_DEFAULT CRYPT_DEFAULT=__unix__ s/__unix__/3rot13/ w 954 q # Usage Example, # passwd fred New Password: Re-enter new Password: passwd: password successfully changed for fred # # grep fred /etc/shadow fred:$3rot13$serq123:12856:::::: :::::::::::::: Makefile :::::::::::::: all: crypt_3rot13.32.so.1 crypt_3rot13.64.so.1 mv crypt_3rot13.32.so.1 crypt_3rot13.`uname -p`-32.so.1 mv crypt_3rot13.64.so.1 crypt_3rot13.`uname -p`-64.so.1 crypt_3rot13.32.so.1: crypt_3rot13.32.o ld -G -o crypt_3rot13.32.so.1 crypt_3rot13.32.o crypt_3rot13.32.o: crypt_3rot13.c gcc -c -o crypt_3rot13.32.o crypt_3rot13.c crypt_3rot13.64.so.1: crypt_3rot13.64.o ld -64 -G -o crypt_3rot13.64.so.1 crypt_3rot13.64.o crypt_3rot13.64.o: crypt_3rot13.c gcc -m64 -c -o crypt_3rot13.64.o crypt_3rot13.c clean: rm -f crypt_3rot13.64.so.1 crypt_3rot13.64.o crypt_3rot13.32.so.1 crypt_3rot13.32.o