Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Strange behaviour with ftpd on Unixware 7

2 views
Skip to first unread message

Thorin

unread,
Jul 15, 2009, 6:28:53 AM7/15/09
to

Hi, I'm experimentig strange behaviours on an Unixware machine: when I
try to connect using any other user account than the one named aspect
I'm always getting a "530 Login incorrect." error message.


root@machine: # uname -a
UnixWare machine 5 7.1.1 i386 x86at SCO UNIX_SVR5

This is what's happening when I'm connecting through the aspect login name:

$ ftp -v machine
Connected to machine.mydomain.it.
220 machine.mydomain.it FTP server (wu-2.4.2-academ-15 + security
patches) ready.
Name (machine:antpic): aspect
331 Password required for aspect.
Password:
230 User aspect logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
total 182
drwxr-xr-x 27 aspect sys 1024 Jul 13 17:17 .
drwxrwxr-x 7 root sys 96 Jul 13 15:51 ..
drwxr-xr-x 2 root sys 1024 Jun 5 10:44 .CSS_UPDATE
-rw-r--r-- 1 aspect other 2257 Jul 13 17:35 .XAE
-rw------- 1 aspect other 150 Jun 11 14:10 .Xauthority
-rwxr-xr-x 1 aspect other 4945 Jun 4 14:57 .Xdefaults
-rw------- 1 aspect other 531 Jul 13 12:38 .bash_history
drwxr-xr-x 9 aspect other 1024 Jun 11 14:10 .dt
-rwxr-xr-x 1 aspect other 4951 Jun 4 14:57 .dtprofile
-rwxr-xr-x 1 aspect other 6438 Jun 4 14:57 .dtwmrc
-rwxr-xr-x 1 aspect other 2737 Jun 4 14:57 .profile
-rw------- 1 aspect other 2857 Jul 15 11:57 .sh_history
-rw-r--r-- 1 root sys 415 Jun 4 14:58 .xae-update.log

as you may see, there's no .netrc file into his home directory but at
the same, when I'm trying to connect as any other user...

$ ftp -v machine
Connected to machine.mydomain.it.
220 machine.mydomain.it FTP server (wu-2.4.2-academ-15 + security
patches) ready.
Name (machine:antpic): username
331 Password required for username.
Password:
530 Login incorrect.
ftp: Login failed.
Remote system type is UNIX.
Using binary mode to transfer files.

the same isn't happening while connecting to another similar machine
running identical OS and ftp server versions). Here they are some
details about the /etc/ftp* files, which are pretty the same as the ones
on the other working machine i.e. they are quite empty, no users in
ftpsuers nor ftpaccess or ftpgroups!!

root@machine: # ls -l ftp*
-r--r--r-- 1 root sys 838 Apr 3 1998 ftpaccess
-r--r--r-- 1 root sys 2175 Apr 3 1998 ftpconversions
-r--r--r-- 1 root sys 93 Apr 3 1998 ftpgroups
-r--r--r-- 1 root sys 92 Apr 3 1998 ftphosts
-r--r--r-- 1 root sys 85 Apr 3 1998 ftpusers

root@machine: # sed '/^#/d;/^$/d' ftpusers
root@machine: #

root@machine: # sed '/^#/d;/^$/d' ftpaccess
loginfails 3
passwd-check trivial warn
class all anonymous,guest,real *
compress yes all
tar yes all
readme README* login all
readme README* cwd=* all
root@machine: #

root@machine: # sed '/^#/d;/^$/d' ftpgroups
root@machine: #

root@machine: # grep aspect /etc/passwd
aspect:x:100:1:CSS Application Software:/home/aspect:/bin/ksh

root@machine: # grep ivdln /etc/passwd
ivdlnr23:x:111:102::/home/labusers/ivdlnr23:/usr/bin/ksh

root@machine: # grep ksh /etc/shells
/bin/ksh
/usr/bin/ksh
/usr/bin/ksh88
/u95/bin/ksh
/OpenServer/bin/ksh
root@machine: # ls -l /usr/bin/ksh*
lrwxrwxrwx 1 root sys 12 Jun 5 15:32 /usr/bin/ksh
-> /u95/bin/ksh
-r-xr-xr-x 1 bin bin 133120 Sep 10 2001 /usr/bin/ksh88


I've tried googling but it was quite difficult finding out any useful
links so I'm asking if someone could redirect me to some
hint/RTFM/other, TIA.

0 new messages