Code Sample |
sudo bash /home/dsl/enableuser.sh sudo useradd -g staff -d /home/cmu -p ftp -s /bin/bash -c "FTP User" cmu sudo chpasswd < /home/dsl/ftp_password mkdir /home/cmu sudo chown -R cmu.staff /home/cmu mydsl-load /cdrom/optional/ftp_files.tar.gz /usr/sbin/betaftpd & |
Quote |
I had forgotten to mention that I had harvested ke4nt1's script to make the passwd type files writeable. This is what the enableuser.sh script is above. |