You are not logged in.
Pages: 1
I am having a problem with openntpd on a system that used to have ntp. I think I have it all figured out but I just have realized that I have never really looked into what controls program commands.
My problem:
When I try and run:
[root@sytem ~]# ntpd -[whatever options]
-bash: /usr/bin/ntpd: No such file or directory/usr/bin
I have figured out that it is pointing at /usr/bin/ntpd which is the location for ntp. Openntpd used /usr/sbin/ntpd.
If I run:
[root@sytem ~]# /usr/sbin/ntpd
it works correctly. So I just need to find out how to change where it is directing the command 'ntpd'. Any broader explanation that explains the system linux used to control program name locations would be great.
Thanks
Offline
Linux does not care where your binaries are kept. It is your shell which locates them. In this case, look up PATH and COMMAND EXECUTION in bash's manual.
Also, isn't ntpd meant to be a daemon?
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline
Pages: 1