Visit Our UNIX and Linux User Community


solaris 10 proftpd with inetd and tcp_wrappers


 
Thread Tools Search this Thread
Operating Systems Solaris solaris 10 proftpd with inetd and tcp_wrappers
# 1  
Old 08-28-2009
solaris 10 proftpd with inetd and tcp_wrappers

If I use an old inetd based service that specified /usr/sbin/tcpd for proftpd, do I have to include that when I use inetconv to create the service manifest.

For example.

I currently use proftpd for ftp with tcp_wrappers. My old inetd line was

ftp stream tcp nowait root /usr/sbin/tcpd /usr/local/sbin/in.proftpd.

If I want to create a manifest for this, do I include /usr/sbin/tcpd in the line as it was before?

Thank you
# 2  
Old 08-28-2009
Just put the line in /etc/inetd.conf as normal and run inetconv. Solaris will create the appropriate inet/smf artifacts for you.
# 3  
Old 08-31-2009
Thank you.

Sometimes I need to turn off tcp_wrappers for proftpd and I used to just edit inetd.conf and HUP inetd.

I know with Solaris 10 I can use inetadm -m ftp tcp_wrappers=false to turn off wrappers for ftp, can I do the do the same when I this to create the manifest?

ftp stream tcp nowait root /usr/sbin/tcpd /usr/local/sbin/in.proftpd

Thank you

---------- Post updated at 08:47 PM ---------- Previous update was at 06:36 PM ----------

Before creating the manifest, I issued these commands which seem to work. What is the downside to this method? This will stay after reboots, correct?

# inetadm -m svc:/network/ftp:default exec="/usr/local/sbin/in.proftpd"
# svcadm enable ftp

Previous Thread | Next Thread
Test Your Knowledge in Computers #762
Difficulty: Medium
The L2 cache, and higher-level caches, are never shared between the CPU cores.
True or False?

9 More Discussions You Might Find Interesting

1. AIX

Proftpd and AIX 7

Hi. I want to install proftpd on an AIX 7.1, but the only proftpd-1.2.8-1.aix5.1.ppc.rpm is available and it doesn't want on be installed : error: proftpd-1.2.8-1.aix5.1.ppc.rpm cannot be installed Any help (other than compilation) ? tks (0 Replies)
Discussion started by: stephnane
0 Replies

2. Solaris

Solaris 10, start inetd in a zone not working

Hello all, I`ve the following problem - I cannot start inetd in any way possible: bash-3.00# svcs inetd STATE STIME FMRI offline Jul_30 svc:/network/inetd:default bash-3.00# bash-3.00# svcadm enable -r inetd bash-3.00# svcs inetd STATE STIME FMRI... (6 Replies)
Discussion started by: click
6 Replies

3. AIX

ProftpD on AIX 6.1

I need to install proftpd on AIX 6.1 . I cant compile it from source cod because of lacking gCC compiler.. so is there any AIX proftpd package to install (3 Replies)
Discussion started by: wwwzviadi
3 Replies

4. UNIX for Dummies Questions & Answers

Help me Install Proftpd

Hi eveyone, Im newb in Unix. I just install solaris 10 on my VM. First program i install is midnight commander and did successful. The way i do is get binary packet from sunfreeware then add and edit the PATH variable. My next program is ProFtpd i did same way :D. Add packets... (4 Replies)
Discussion started by: tien86
4 Replies

5. Solaris

Umask to ProFTPd

My user most download files to home directory with umask 002. Permissions on that files must be -rwx------, i'm right ? I thinks yes. Ok It's my easy config file. ServerName "FTP" ServerType standalone DefaultServer on Port 21... (3 Replies)
Discussion started by: jess_t03
3 Replies

6. Solaris

tcp_wrappers not working

Help!!! I have installed tcp_wrappers in order to restrict ftp access to my sun server (V245 - Solaris 9.5) # more inetd.conf ftp stream tcp6 nowait root /usr/sbin/tcpd in.ftpd # more hosts.allow in.ftpd: svcstftp1 in.ftpd: 10.52.31.107/255.255.255.0 # more... (0 Replies)
Discussion started by: dodge_man
0 Replies

7. IP Networking

Error inetd

Hi , I need help, today I restarted the server, when the machine was up, it had been to writte in the file osmlog that : "inetd: talk/udp: bind: Address already in use" This message appears in ten minutes every time. Why ? Thanks. (6 Replies)
Discussion started by: By_Jam
6 Replies

8. HP-UX

inetd process

-------------------------------------------------------------------------------- Hi All , I have a client an server among which i want to make the server an inetd process. I have enries in etc/services and etc/inetd.conf The enries looks like below etc/services servername 5551/tcp... (4 Replies)
Discussion started by: binums
4 Replies

9. UNIX for Dummies Questions & Answers

Inetd and security

Ok, So I've been lazy over the past 3 years with the SCO server I maintain, as it just primarily hosts my private networked proprietary software, until now. We have dedicated net access, in which the SCO server is not setup for and not going to be setup to connect to the internet by any direct... (8 Replies)
Discussion started by: ftn96
8 Replies

Featured Tech Videos