trouble with 'ftpwho' and reporting logged in ftp users

trouble with 'ftpwho' and reporting logged in ftp users

Post by Mike Hughe » Mon, 16 Feb 1998 04:00:00



I'm having trouble with the 'ftpwho' command.  It doesn't seem to report
any logged in ftp users, even when there are four or five anonymous
users.  It doesn't even report users with a real account name.  I have
attached the contents of my /etc/ftpaccess file, can someone tell me
what's wrong?


-- contents of /etc/ftpaccess --

loginfails 2

class   local   real,guest,anonymous *.domain 0.0.0.0
class   remote  real,guest,anonymous *

limit   local   8   Any                 /etc/msgs/msg.toomany
limit   remote  8   SaSu|Any1800-0600   /etc/msgs/msg.toomany
limit   remote  8   Any                 /etc/msgs/msg.toomany

readme  README*    login
readme  README*    cwd=*

message /welcome.msg            login
message .message                cwd=*

compress        yes             local remote
tar             yes             local remote

# allow use of private file for SITE GROUP and SITE GPASS?
# private         yes

# passwd-check  <none|trivial|rfc822>  [<enforce|warn>]
passwd-check    rfc822  warn

log commands real
log transfers anonymous,real inbound,outbound
shutdown /etc/shutmsg

# all the following default to "yes" for everybody
delete          no      guest,anonymous         # delete permission?
overwrite       no      guest,anonymous         # overwrite permission?
rename          no      guest,anonymous         # rename permission?
chmod           no      anonymous               # chmod permission?
umask           no      anonymous               # umask permission?

# specify the upload directory information
upload  /home/ftp  *             no
upload  /home/ftp  /incoming     yes     wxh    root  0644 dirs
upload  /home/ftp  /incoming/*   yes     wxh    root  0644 dirs

# directory aliases...  [note, the ":" is not required]
alias   inc:    /incoming

# cdpath
cdpath  /incoming
cdpath  /pub
cdpath  /

# path-filter...
path-filter  anonymous  /etc/pathmsg  ^[-A-Za-z0-9_\.]*$  ^\.  ^-
path-filter  guest      /etc/pathmsg  ^[-A-Za-z0-9_\.]*$  ^\.  ^-

# specify which group of users will be treated as "guests".
guestgroup ftponly


-- end of /etc/ftpaccess --

Mike Hughes

Thanks, please respond via email!

 
 
 

1. 'last' reports users logged in erroneously...

Howdy y'all.  Little question here.  The program 'last' reports users logged in
on TTYs when they have actually logged out.  They have no processes left and
'finger' knows they are gone.  Why isn't utmpx updated?  Where does 'finger'
get its info?  I think 'login' updates these files with new sessions but who
is supposed to update utmpx when a session ends?  inetd cuz it is its child
that died?  It only happens in telnet sessions.  After logging in I tried
a special shell that forked and started a new session/prg-grp to release the
TTY.  The parent exit()s so the TTY should be release and utmpx updated but
the same problem persists.  Any clue?

DJS


2. Bridge info

3. FTP: logging things other than 'get' and 'put'

4. unmounting multiply-mounted directories

5. Need HELP to Log User Log-ins form the internet

6. ALSA 0.9.0 and Geode SoundBlaster Emulation

7. last reporting users logged in when they're not

8. FreeBSD 4.1.1, IPFW

9. What's 'side effects' of Ksh built-ins?

10. Users having probs logging into Linux system, get '/home/...' doesn't exist.

11. Restrict ftp-chdir's to '~user'?

12. 'who' fails to report user on RedHat 6.0??

13. Netatalk: 'afpd' reports unresolved symbol '__xstat'