- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Problem with TFTP
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2007 11:11 PM
10-23-2007 11:11 PM
Problem with TFTP
I have a problem.
I need to allow another user , not root, to start the TFTP service in port 69.
It`s possible??
Any sugestions
Thank you in advance
Javi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2007 02:05 AM
10-24-2007 02:05 AM
Re: Problem with TFTP
To make inetd start the tftpd process as some user other than root, edit /etc/inetd.conf.
The line that defines tftp service looks like this:
tftp dgram udp wait root /usr/lbin/tftpd tftpd ...
If you change the word "root" to some other username, then tftpd is run as that user.
Remember to signal the inetd process to re-read its configuration after editing the /etc/inetd.conf file:
inetd -c
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2007 02:44 AM
10-24-2007 02:44 AM
Re: Problem with TFTP
this case is possible??
tftp dgram udp wait root /usr/lbin/tftpd tftpd /opt/ignite /var/opt/ignite
tftp dgram udp wait USER /usr/lbin/tftpd tftpd /opt/ignite /var/opt/ignite
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2007 03:00 AM
10-24-2007 03:00 AM
Re: Problem with TFTP
Why? What is that actual problem which you
are trying to solve?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2007 03:04 AM
10-24-2007 03:04 AM
Re: Problem with TFTP
I have enable the tftp server in my hpux with this configuration
tftp dgram udp wait root /usr/lbin/tftpd tftpd /opt/ignite /var/opt/ignite
tftp dgram udp wait hpsa /usr/lbin/tftpd tftpd /opt/ignite /var/opt/ignite
I need that the user root and the user USER can start the tftp module.
thanks
Javi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2007 03:10 AM
10-24-2007 03:10 AM
Re: Problem with TFTP
How should the system know which user to use for starting the daemon?
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2007 03:11 AM
10-24-2007 03:11 AM
Re: Problem with TFTP
I'll try one more time.
Why? What is the actual problem which you are
trying to solve?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2007 03:16 AM
10-24-2007 03:16 AM
Re: Problem with TFTP
http://software.hp.com
search for sudo
Download and install the depot.
Give the user the ability to run the inetd command.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2007 06:12 PM
10-24-2007 06:12 PM
Re: Problem with TFTP
HOWEVER, you must then make sure the file permissions are set up so that /opt/ignite and /var/opt/ignite directories can be accessed as the user you've chosen.
As "man tftpd" indicates, if user "tftp" exists, tftpd attempts to chroot itself to the home directory of that user. If tftp is run as a non-root user, tftpd will not have permissions to use the chroot() system call.
So if you're running tftpd as a non-root user, you probably need to make sure the user "tftp" does not exist on the system.
This is *not* the recommended way to set up tftpd, but you can do it if you have a special reason to do so.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2007 07:29 PM
10-24-2007 07:29 PM
Re: Problem with TFTP
Javi