as promised... what I learned! For some reason when the vsftpd rpm package supplied with SuSe 10 is installed it does not automatically create an init.d vsftpd script. After searching, trying, succeeding these are the steps to accomplish this on your own...
1. vim or kwrite /etc/init.d/vsftpd (we are creating this as a new file)
2. Copy and paste this into the file, then save and close:
Code:
#!/bin/sh
case "$1" in
start)
echo "Starting vsftpd ..."
/usr/sbin/vsftpd &
;;
stop)
echo "Stopping vsftpd ..."
killall vsftpd
;;
*)
echo "Usage: 'basename $0' {start|stop}" >&2
exit 64
;;
esac
exit 0
3. From terminal run:
Code:
chmod +x /etc/init.d/vsftpd
4. Open YaST, System, System Services (Runlevel).
5. Select Expert Mode.
6. Scroll down to vsftpd, highlight it and select the
3 and
5 runlevels, then Finish.
7. Restart machine, from terminal run
Code:
ps aux | grep vsftp
You should see something to the effect of
Code:
server1:~ # ps aux | grep vsftp
root 3639 0.0 0.2 1828 536 ? S 19:54 0:00 /usr/sbin/vsftpd
root 3642 0.0 0.1 1520 448 ? Ss 19:54 0:00 startpar -f -- vsftpd
root 6005 0.0 0.2 1828 604 pts/1 R+ 20:19 0:00 grep vsftp
server1:~ #
(note if run as user the last line will more than likely start with user name, shown as root above.)
Hope this helps others in the future.
Recent comments
22 hours 45 min ago
22 hours 50 min ago
1 day 3 hours ago
1 day 10 hours ago
1 day 11 hours ago
1 day 12 hours ago
1 day 16 hours ago
1 day 23 hours ago
2 days 3 hours ago
2 days 5 hours ago