Operating System - HP-UX
1821981 Members
5456 Online
109638 Solutions
New Discussion

Can tftpd have multiple search paths

 
Mike Botha
Occasional Contributor

Can tftpd have multiple search paths

I have cerated a tftp user in my /etc/passwd with a default dierctory of /home/tftpdir

I am trying to get a app (CiscoWorks2000 Resource Manager Essentials) to work that insists on using /opt/hpxt as its default tftpdir.

I have specified multiple tftp directories in my /etc/inetd.conf and reinitialized it with inetd -c.
These directories specified in inetd.conf work if you tell tftp to get files relative to the root. ( get /opt/hpxt/somefile )
My problem is that the Cisco app does not specify the file path relative to the root.

Cisco are not a whole lot of help in this regard, as all knowledgebase answers are mostly about NT and Solaris.
I am not sure how these OS's handle their tftp service.

Can tftpd search for the file on more than one location.

My assumption is that if you do not specify directory it only looks at the directory specified in /etc/passwd tftp user account.

Is the only way to get this app to work to specify /opt/hpxt as the tftp user default directory in my /etc/passwd ?

Your expertise regarding this matter would be greatly appreciated
1 REPLY 1
Craig Gilmore
Trusted Contributor

Re: Can tftpd have multiple search paths

Michael,

Unfortunately, what you have found in your current investigation is correct. Even if you only have 1 directory listed in inetd.conf and this directory differed from the tftp user, you would have to specify the absolute pathname to the file to find it. It appears for this application to work, it will require a tftpd server that only knows about the /opt/hptx directory.

Good Luck !