UkCvs.org - View Single Post - linux guru's please help
View Single Post
Old 10-01-2010, 10:27 AM   #9 (permalink)
Sicilian
Donated Member
UkCvs Member
 
Join Date: Sep 2008

Posts: 83
iTrader: (0)
Casino cash: $39595
Thanks: 37
Thanked 57 Times in 19 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Groans: 0
Groaned at 0 Times in 0 Posts
Default
Ok right. This is what I've done so far with no joy. Thank for all the help so far

1. Edited inetd.conf to look like this: -

PHP Code:
#
# /etc/inetd.conf       A simple inetd.conf
#
# <service_name> <sock_type> <proto> <flags> <user> <server_path> <args>
#
# To re-read this file after changes, just do a 'killall -HUP inetd'
#
#
ftp     stream  tcp     nowait  root    /usr/sbin/bftpd bftpd
telnet  stream  tcp     nowait  root    
/usr/sbin/telnetd  telnetd
#auth   stream  tcp     nowait  nobody  /usr/sbin/nullidentd nullidentd
www     stream  tcp     nowait  www-data        /usr/sbin/httpd httpd -/var/www
#
# End of inetd.conf 
Transfered to /etc/ then chmod 664.

2. Created S51inetd and put into /etc/init.d/ Its looks like this, is this actually correct even? : -

PHP Code:
#!/bin/sh

/tmp/hdd/root/bftpd/bftpd_start

exit 
Once transferred I chmod 775 the above file.

Basically what i'm trying to achieve here is starting the ftp server I installed automatically on each re-boot instead of manually starting via telnet.
Sicilian is offline   Reply With Quote