----- Original Message -----
From: "Ian Drake, IT, SE Dunbartonshire" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 18, 2001 2:05 PM
Subject: RE: [scottish] Linux time.


> not on my system :-
> [anadin@wzc /]$ ntpdate ntp.pipex.net
> bash: ntpdate: command not found
> [anadin@wzc /]$ su
> Password:
> [root@wzc /]# ntpdate ntp.pipex.net
> 18 Apr 14:05:01 ntpdate[14242]: adjust time server 158.43.128.33 offset
> 0.173333 sec
> [root@wzc /]#
>
> and here's why. As there is no point to a user running ntpdate, this and
> other non-user programs live in /usr/sbin and not in the path of a normal
> user, they are however in the path of root.
>
> Doesn't everyone run there system this way?

my debian 2.2r3 box runs like this (and annoys the hell out of me everytime
i want to traceroute as non-r00t) ...

intrepid:~> rdate ntp1.demon.co.uk
rdate: Command not found.
intrepid:~> su
Password:
intrepid:/home/support/neuro# rdate ntp1.demon.co.uk
Wed Apr 18 17:02:39 2001

but my ancient slackware 3.3 box doesn't ...

columbia:~> netdate ntp1.demon.co.uk
netdate: settimeofday: Operation not permitted
ntp1.demon.co.uk +0.466  Wed Apr 18 17:01:24.000
columbia:~> su
Password:
# netdate ntp1.demon.co.uk
ntp1.demon.co.uk +0.158  Wed Apr 18 17:01:34.000

--
  ___  ___ __ _________ @well.com  William Anderson - www.well.com/~neuro
 / _ \/ -_) // / __/ _ \|     "All your base are belong to us. You are on
/_//_/\__/\_,_/_/  \___/|     the way to destruction." -- CATS, Zero Wing

--------------------------------------------------------------------
http://www.lug.org.uk                   http://www.linuxportal.co.uk
http://www.linuxjob.co.uk               http://www.linuxshop.co.uk
--------------------------------------------------------------------

Reply via email to