1753954 Members
7564 Online
108811 Solutions
New Discussion юеВ

Re: ntp question!

 
SOLVED
Go to solution
Amit Manna_6
Regular Advisor

ntp question!

Hi
When i am giving ps -aef | grep ntp on a server its gives me the following:

ntp 698 1 0 2004 ? 00:00:00 ntpd -U ntp


Can anybody let me know what this denotes?
4 REPLIES 4
Mark Grant
Honored Contributor
Solution

Re: ntp question!

the ntpd daemon is running on the machine as the user "ntp".

Though generally speaking, on HPUX systems, I've seen xntpd. Is this a Linux box?
Never preceed any demonstration with anything more predictive than "watch this"
Pedro Cirne
Esteemed Contributor

Re: ntp question!

Hi,

The option -U ntp, means the ntpd daemon switch to user ntp instead of using root previleges to run!

As you see, the user of the process is "ntp"

Enjoy :)

Pedro
Florian Heigl (new acc)
Honored Contributor

Re: ntp question!

maybe it's just the regular ntp distribution, though this also would be strange on hp-ux. :)
yesterday I stood at the edge. Today I'm one step ahead.
Bill Hassell
Honored Contributor

Re: ntp question!

ntpd definitely is not normal for HP-UX. It sounds like someone has downloaded some freeware version of NTP, not good. I would investigate where this ntpd file is located, see if there are other related files, then uninstall it as soon as possible. HP-UX has had a clean version of NTP since before version 10.01 and it runs xntpd so that there is never a loss or gain of a single second in the server. xntpd will slightly adjust the speed of the clock to sync the time to within 128ms of the time servers.


Bill Hassell, sysadmin