Subject: wu-ftpd and ls on IRIX

From: [email-masked] (Andrew Stone)
Date: Tue, 16 Apr 1996 21:37:04 +0100

We are currently trying to set up wu-ftpd on an sgi running IRIX 5.3. The
problem we are having is with running ls on restricted user logins. It
works fine for normal users.

We've copied the dynamically linked libraries into the ftp area and tried
chroot to ~ftp /bin/ls, which works perfectly.

The users in question are dial-up users who are in /etc/group as ftp, which
is in turn in ftpaccess as: guestgroup ftp

Any help you can offer would be gratefully appreciated.

Andrew & Stephen

---

From: "W. James Showalter" <[email-masked]>
Date: Mon, 15 Apr 1996 18:48:00 -0400 (EDT)

I went ahead and wrote a C version of the program to add
group:password:realgroup entries to the ftpgroups file.
I do not know if one is being provided with the beta-11 release.

Anyway, I have compiled and tested (minimally) on SunOS 4.1.4 and 
Solaris 2.4 SPARC 5 platforms.  The program is simple enough that
it should be modifiable to run on practically any Unix platform.

The slightly improved perl version and the C version plus instructions
are located in /pub on mintaka.iern.disa.mil via anonymous ftp.

The files are ftpgrp.tar  or  ftpgrp.tar.Z

As usual, with this or anything which is free, use it at your own risk.

Jim

---

From: [email-masked] (Winfried Magerl)
Date: Wed, 17 Apr 1996 18:48:42 +0200 (MDT)

> Any help you can offer would be gratefully appreciated.

Maybe you forgot ~/lib/rld (the dynamic linker), or there is no link
~/usr/lib -> ~/lib. The first is mentioned in the man-pages to ftpd.
The second problem I see on earlier IRIX 5.x and I don't know if this
problem is gone with 5.3.
rld only searches in /usr/lib :-(

Here is a ls -lR from a working chroot-environment on 5.3:

total 5
d--x--x--x    2 root     sys          512 Aug  8  1995 bin
d--x--x--x    2 root     sys          512 Aug  8  1995 dev
d--x--x--x    3 root     sys          512 Aug  8  1995 etc
d--x--x--x    2 root     sys          512 Aug  8  1995 lib
dr-xr-x--x    2 root     sys          512 Aug  8  1995 usr

./bin:
total 1015
---x--x--x    1 root     sys        23328 Jun 23  1994 compress
---x--x--x    1 root     sys       138660 Jun 27  1994 gzip
---x--x--x    1 root     sys        80308 Jun 27  1994 ls
---x--x--x    1 root     sys       276648 Jun 27  1994 tar

./dev:
total 0
cr--r--r--    1 root     sys       37,  0 Jun 23  1994 zero

./etc:
total 3
-r--r--r--    1 root     sys           97 Sep  8  1994 group
-r--r--r--    1 root     sys           98 Jan 30  1995 passwd

./lib:
total 3780
-r-xr-xr-x    1 root     sys      1310168 Jun 23  1994 libc.so.1
-r-xr-xr-x    1 root     sys       624832 Jun 23  1994 rld

./usr:
total 1
lrwxr-xr-x    1 root     sys            6 Aug  8  1995 lib -> ../lib

-- 
Winfried Magerl - Internet Administration
Siemens Business Services, 81739 Munich, Germany
Internet-Mail: [email-masked]