Artix Linux Forum

Artix Linux => System => Topic started by: jemadux on 10 November 2021, 21:27:26

Title: the group nogroup
Post by: jemadux on 10 November 2021, 21:27:26
i follow instrucktions of atftp on ubuntu as written here
https://openwrt.org/docs/guide-user/troubleshooting/tftpserver
but when i gonna run suo
Code: [Select]
chown nobody:nogroup -R /srv/tftp
chown: invalid group : «nobody:nogroup»
i had tried to fix with
with
Code: [Select]
 
sudo chmod -R 777 /srv/tftp
sudo chown -R nobody /srv/tftp
and then trying to run the deamon ...
Code: [Select]
 sudo atftpd --daemon --no-fork --logfile - /srv/tftp
Nov 10 22:24:29 cryptolab atftpd[10897.139629222795072]: Advanced Trivial FTP server started (0.7.5)
Nov 10 22:24:29 cryptolab atftpd[10897.139629222795072]: atftpd: can't change identity to nobody.nogroup: no such user/group. exiting.

any way to fix it ?

plus for tftp-hda the files are located here 
https://github.com/gentoo/gentoo/tree/master/net-ftp/tftp-hpa/files
I don't care which server i will use .. i care to work .. any ideas
Title: Re: the group nobody
Post by: Dudemanguy on 10 November 2021, 22:08:25
As the error message says, nobody:nogroup is not valid. The nobody user exists by default but there is no such group as "nogroup". I'm not sure what exactly you're doing but I don't see why you can't just use nobody:nobody instead for this.
Title: Re: the group nobody
Post by: jemadux on 10 November 2021, 22:29:58
As the error message says, nobody:nogroup is not valid. The nobody user exists by default but there is no such group as "nogroup". I'm not sure what exactly you're doing but I don't see why you can't just use nobody:nobody instead for this.
(https://i.postimg.cc/8zNxDR0S/pic-window-211110-2328-31.png)
Title: Re: the group nogroup
Post by: Dudemanguy on 10 November 2021, 23:12:38
Use the --user/--group arguments to control the user/group atftp is trying to use.
Title: Re: the group nogroup
Post by: jemadux on 11 November 2021, 09:47:19
can someone tell me where to put the openrc services for tftp-hda ?
Title: Re: the group nogroup
Post by: nous on 11 November 2021, 23:56:30
can someone tell me where to put the openrc services for tftp-hda ?
/etc/init.d