Setting the time on a dial-up

Dominic Mitchell dom at
Wed Jan 26 22:54:39 GMT 2000

On Wed, Jan 26, 2000 at 11:26:16AM +0000, keith_jones at wrote:
> One option to avoid the necessity of writing a wrapper is to make 
> 'ntpdate' setuid and only readable/executable by certain users:
> 1. Add a new 'ntpdate' group to '/etc/group', e.g.:
>  ntpdate 2000 <your user name here>
> 2. Change the file ownership and permissions of 'ntpdate':
>  chown root.ntpdate /usr/sbin/ntpdate
>  chmod 4750 /usr/sbin/ntpdate
> Someone feel free to correct me if this is wrong, I've only just woken up 
> ;)

No, that sounds like a far better solution that piddling around with
wrappers.  I'll just have to remember to add the changes into my
"post-make-world" script.


More information about the Ukfreebsd mailing list