File: README.Unixware

package info (click to toggle)
proftpd-dfsg 1.3.5-1.1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 30,228 kB
  • sloc: perl: 211,735; ansic: 153,584; php: 11,586; sh: 11,085; makefile: 2,323; xml: 93
file content (38 lines) | stat: -rw-r--r-- 1,524 bytes parent folder | download | duplicates (14)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
Using ProFTPD with UnixWare 7.1

UnixWare 7.x has an odd problem involving tcp sockets inside of a
chroot()  [as used w/ DefaultRoot and Anonymous logins].  Apparently, due
to the UnixWare xti code, socket operations initially attempt to open a few
devices, including /dev/tcp, /dev/udp, /dev/zero and /dev/ticotsord.  This
is most likely caused by the networking libraries, and is completely out
of the control and/or scope of ProFTPD.

UnixWare 7.1 users wishing to use ProFTP will have to do something like
the following in their anonymous or otherwise chroot'ed directories:

[ !!NOTE!!  Do not use the major/minor device numbers below verbatim.
  Solaris on different archs will use different major/minors.  Check
  your OS documentation first before doing this. ]

mkdir dev
mknod dev/tcp c 7 37
mknod dev/zero c 39 1

# the following is necessary to allow proftpd to create a socket
# when in non-low-port mode (such as during passive transfers)
chmod 0666 dev/tcp

Failure to create these files will result in "socket() failed in
inet_create_connection(): No such file or directory" when a user logs in
anonymously and attempts to transfer data of any type (including a simple
directory listing).

If you receive errors such as "socket() failed in
inet_create_connection(): Permission denied", you need to chmod 0666 your
dev/tcp device. 

Additionally you will need to create the file etc/netconfig or you'll
get the following error message: _s_match: setnetconfig failed

mkdir etc
cp /etc/netconfig etc/netconfig