The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


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 !!

More UNIX and Linux Forum Topics You Might Find Helpful
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

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 07-24-2007
Registered User
 

Join Date: Mar 2005
Posts: 36
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
Reply With Quote
Forum Sponsor
  #2  
Old 07-24-2007
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,619
"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.
Reply With Quote
  #3  
Old 07-24-2007
Registered User
 

Join Date: Mar 2005
Posts: 36
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
Reply With Quote
  #4  
Old 07-24-2007
Registered User
 

Join Date: Mar 2005
Posts: 36
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.
Reply With Quote
  #5  
Old 07-24-2007
Registered User
 

Join Date: Mar 2005
Posts: 36
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
Reply With Quote
  #6  
Old 07-24-2007
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,619
Post the results of the following commands:
grep "^ftp:" /etc/passwd
ls -ld /home/ftp
Reply With Quote
  #7  
Old 07-24-2007
Registered User
 

Join Date: Mar 2005
Posts: 36
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:/ #
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 01:49 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0