to understand the config file for tftp server
I have down loaded the tftpd-hpa and the config file looks as pasted below.
I have three questions: 1. Did the installation process create the user 'tftp' ? 2. Is the userid 'tftp' being used not for logging in as /etc/shadow contains * ? 3. I get it that the config file can be edited but what is this language in which this config file is written? I think I am asking these questions to understand the customising process in detail , so that I can customise with knowledge. btmadmin@lonubuntu01:/etc/default$ sudo cat tftpd-hpa # /etc/default/tftpd-hpa TFTP_USERNAME="tftp" TFTP_DIRECTORY="/var/lib/tftpboot" TFTP_ADDRESS=":69" TFTP_OPTIONS="--secure" btmadmin@lonubuntu01:/etc/default$ id tftp uid=129(tftp) gid=131(tftp) groups=131(tftp) btmadmin@lonubuntu01:/etc/default$ grep tftp /etc/passwd tftp:x:129:131:tftp daemon,,,:/var/lib/tftpboot:/usr/sbin/nologin btmadmin@lonubuntu01:/etc/default$ btmadmin@lonubuntu01:/etc/default$ sudo grep tftp /etc/shadow tftp:*:17743:0:99999:7::: btmadmin@lonubuntu01:/etc/default$ Many thanks in advance .... |
1. Yes.
2. tftp is the username that the server runs as and not used to actually login. tftp does not have any security or authentication. 3. The configuration file is written in English and stored as an ASCII file. You can change the TFTP_DIRECTORY location to anything but it will have to have the same permissions. The TFTP_USERNAME should be left as is. TFTP_ADDRESS=":69" basically means it can be access by all network connections on port 69 and should be left as is. https://linux.die.net/man/8/tftpd |
Thank you
Thank you michaelk.
|
All times are GMT -5. The time now is 12:09 PM. |