01-13-2006
Standalone FTPD within SMF
Hello
We are trying to run the WU_FTPD demon in standalone mode (-S argument) via an SMF service. Prior to SMF, this was achieved by simply commenting out the FTP line within the inetd.conf file. However, within SMF, I believe we need to carry out the following activities:
i) Remove the FTP service from INETD SMF service control (which should prevent INETD from monitoring the FTP port);
ii) Import the FTP service as a standalone service into SMF (so that the FTP demon then monitors the FTP port).
We carried out the following activities:
i) Disabled and deleted the current FTP service as follows:
inetadm -d network/ftp
svccfg delete network/ftp
ii) Imported a customised FTP manifest file that starts the FTP demon as standalone.
The FTP service is now running fine as a standalone service, but inetd is no longer fine. It continually fails. The following is found within the log files:
svc:/network/inetd:default: Method "/usr/lib/inet/inetd start" failed with exit status 1
Does anyone know how we can successfully run the FTPD service within SMF as a standalone demon without upsetting the INETD service? Simply disabling the FTP service using INETADM and importing our customised FTP service seems to cause problems.
Thanks in advance for your help.
Cheers
Dave
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
ya i was wondering if there was anyone out there who could show me a good how to page on wu-ftpd ...im running RH 7.1 and i have the update of wu i just need to know how to use it and configure it so the users are limited to their dir and not the whole system .....any help will do ..thx (2 Replies)
Discussion started by: mista_king
2 Replies
2. UNIX for Advanced & Expert Users
hello,
On my AIX server 4.3.3.0 the following message appears on the screen:
ftpd :Failed dlopen :/usr/lib/libpag.a(shr.o):a file or directory in the path name does not exist.
Please help,
Thanks . (1 Reply)
Discussion started by: eyounes
1 Replies
3. UNIX for Dummies Questions & Answers
Hello
I am trying to configure WU-FTPD on Solaris 10 to do the following:
Using the -r parameter to in.ftpd, I am running the FTP demon within a CHROOT jail (/export/ftp). The FTP service is also being controlled by SMF. This seems to work fine.
However, one of the requirements I have is to... (2 Replies)
Discussion started by: CowsUdders
2 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I am nil about UNIX and i want to learn about. For this i want to install UNIX 5.0 on my home pc. Anyone please tell me the procedure to install it. The partition and all etc. etc..
My pc configuration is
P-IV, 1.7GHz
40 GB HDD
With regards,
Phani (1 Reply)
Discussion started by: phanikmv
1 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I have a networked ultra 5 workstation(using NIS) that I would like to be able to :
1. Reconfigure to standalone workstation,
2. and be able to switch back to a network workstation when the needs required.
Please advise.
Ryan (5 Replies)
Discussion started by: ryantk
5 Replies
6. Solaris
For two straight days someone was running in.ftpd in my server (apparently looking to break in) and when I would do "top" almost every line would read "in.ftpd". I had a unix sysadmin friend of mine shut it down and then start it back up in a day and a half and all seems OK for now.
Here's what I... (1 Reply)
Discussion started by: thomi39
1 Replies
7. UNIX Desktop Questions & Answers
Hi All,
I am ftping a file from unix to mainframe. Now the problem arises that i want to check if the file was ftpd or not. Is there any way i could do this? (4 Replies)
Discussion started by: vikas.rao11
4 Replies
8. Linux
Hello everyone!
I looking for wu-ftpd latest rpm or sorce package.
Anyone have idea where i can find?
I need to install on Centos 5.
please help.
-thanks,
:) (4 Replies)
Discussion started by: email-lalit
4 Replies
9. Solaris
Hi,
I am facing following alarms in var/adm/messages after an interval of 10 mins. I dont know what the impact is and how can i fix it. Can anyone help please?
Dec 4 07:50:03 hxcsvc-a01 ftpd: open_module: stat(/usr/lib/security/pam_unix_session.so.1) failed: No such file or directory
Dec ... (4 Replies)
Discussion started by: sni_engineer
4 Replies
10. UNIX for Advanced & Expert Users
Hello!
I am trying to perform a test using chatzilla, the problem is my machine is not on a network so I am trying to prove I can communicate through local host. This way it will hit the nic go through and come back on the other side. All the configurations I have tried irc.local.host:6667... (12 Replies)
Discussion started by: cybersecEG
12 Replies
LEARN ABOUT X11R4
ftpconfig
ftpconfig(1M) System Administration Commands ftpconfig(1M)
NAME
ftpconfig - set up anonymous FTP
SYNOPSIS
ftpconfig [ftpdir]
ftpconfig -d ftpdir
DESCRIPTION
The ftpconfig script is executed by the super user to set up anonymous FTP. Anonymous FTP allows users to remotely log on to the FTP server
by specifying the user name ftp or anonymous and the user's email address as password. The anonymous users are logged on to the FTP
Server and given access to a restricted file area with its own file system root. See chroot(2). The FTP area has its own minimal system
files.
This command will copy and set up all the components needed to operate an anonymous FTP server, including creating the ftp user account,
creating device nodes, copying /usr/lib files, and copying timezone data. The passwd and group files set up have been stripped down to
prevent malicious users from finding login names on the server. The anonymous file area will be placed under ftpdir. If the ftp user
account already exists, then the current FTP area is used, and the system files in it are updated. All other files are left untouched. This
command should be run to update the anonymous FTP area's configuration whenever a system patch is installed, or the system is upgraded.
OPTIONS
-d Create a new or update an existing ftpdir without creating or updating the ftp user account. Use this option when creating guest
FTP user accounts.
OPERANDS
The following operands are supported:
ftpdir The absolute pathname of the directory under which the anonymous FTP area is set up.
EXIT STATUS
The following exit values are returned:
0 Successful completion
1 Improper usage of the command
2 Command failed
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWftpu |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
SEE ALSO
ftpaddhost(1M), in.ftpd(1M), useradd(1M), chroot(2), attributes(5)
SunOS 5.10 1 May 2003 ftpconfig(1M)