![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| problem with dd command or maybe AFS problem | Anta | Shell Programming and Scripting | 0 | 08-25-2006 07:10 AM |
| SSH Problem auth problem | budrito | UNIX for Advanced & Expert Users | 1 | 03-17-2004 07:12 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
odd ftp problem
we migrated from a system with HPUX B.11.0 to HPUX 11.23 i64
the new server is the same IP as the old server. the old server is renumbered to something else to avoid conflict. on the old system, we had a user named "ftp" . There is one person who daily will ftp files to the host using this logon id and drop the files in /home/ftp. on the new system, the same person now gets an upload permissions exception when attempting the same script. I'm not even sure where to start looking for this one. (BTW, this was set up many years ago with that logon id and no one is now here that had anything to do with it initially. I don't know why that name was chosen.) Lisa |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
"upload permissions exception" doesn't really help very much. Sign on the box using your regular account and from a shell prompt use the command:
ftp localhost then logon as "ftp" and see what the problem actually is. Also check the permissions on /home/ftp. |
|
#3
|
|||
|
|||
|
If I try to "sign on" the ftp session with user id "ftp" - it seems to assume a guest login not a named user login.
--- /home/ftp> ftp localhost Connected to localhost.xxx.edu. 220 hqpxxx01.xxx.edu FTP server (Revision 1.1 Version wuftpd-2.6.1(PHNE_34698) F ri Nov 10 10:21:03 GMT 2006) ready. Name (localhost:ftp): ftp 331 Guest login ok, send your complete e-mail address as password. Password: --- On the other hand, when I tried this same thing to the "old host", I got the same guest result. Lisa |
|
#4
|
|||
|
|||
|
as far as the "upload permissions" issue - I think part of what is happening is that the ftp session is getting dropped in to the / root directory and if you try to change to /home/ftp - you cannot get there - you are told it doesn't exist.
|
|
#5
|
|||
|
|||
|
one more piece in the puzzle.
we have a couple of windows ftp client packages - 1 uses ftp, the other uses sftp. if we use the "just ftp" -- we also get this "upload permissions/guest" problem. if we use the "sftp" client, it works fine. Lisa |
|
#6
|
||||
|
||||
|
Post the results of the following commands:
grep "^ftp:" /etc/passwd ls -ld /home/ftp |
|
#7
|
|||
|
|||
|
hqpsas01:/ # grep "^ftp:" /etc/passwd
ftp:ENut6RZgBLNCE:3375:200:ftp Global,Global,,:/home/ftp:/usr/bin/sh hqpsas01:/ # ls -ld /home/ftp drwxrwxrwx 2 ftp users 8192 Jul 24 15:37 /home/ftp hqpsas01:/ # |
|||
| Google The UNIX and Linux Forums |