Derek Jennings wrote:

On Friday 18 February 2005 05:19, Rosemary McGillicuddy wrote:


On Fri, 18 Feb 2005 17:53, Mikkel L. Ellertson wrote:


Rosemary McGillicuddy wrote:


Thought I had installed NTP using software installer but this is what I
get in terminal.

[EMAIL PROTECTED] rosemary]$ ntpd -q
bash: ntpd: command not found
[EMAIL PROTECTED] rosemary]$ which ntp
which: no ntp in
(/usr/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/home
/r osemary/bin) [EMAIL PROTECTED] rosemary]$



It doesn't appear to have installed.

I'll try looking at log files if I can work out how to find them

Thanks
Rosemary


Rosemary,
 This is because ntpd in in the /usr/sbin directory, and that is not on
the path of a normal user. You would have to use "/usr/sbin/ntpd -q"
instead. I am not sure, but I suspect you have to be root for it to
actually change the system time.

Mikkel


Hmmm - it is in /etc and has ntp.conf there. Instructions say to add a
line to that file but I can't find how to get into it - I am a newbie! Been looking at linux command pages but stuck.
Solong as I don't boot to windows the time is fine anyway!


Cheers
Rosemary



Rosemary, Mandrake has a GUI to set up ntp so you do not need to edit text files if you do not want to.
Install the package drakwizard and then open Mandrake Control Centre. You will see a new section called 'Server' in there is a wizard to set up ntp for you.


And for future reference. If you do ever need to edit system files you must do it as root user. A simple way to become root user is to hit Alt+F2 end type kdesu konqueror in the box that will appear.
This opens a copy of konqueror file manager as root user. Edit your files from there.


derek


Here's a slightly easier way ( at least for me ) to edit any file as root.

Seeing as how you're now getting to grips with konsole, simply sign in as ' su ' and at the command prompt do :

# kwrite & [ substitute kwrite for any text editor you prefer - the ' & ' allows you to run whatever you have called ( in this case kwrite ) without locking up the command prompt for ' su ' ]

Within the editor opened as ' su ' you can now browse to the file you wish to edit - edit it -don't forget to save your changes - don't forget to close the editor once done ( leaving it open while you duck out for a coffee could see a curious mate corrupt your system thinking they were simply playing with a common editor ).

Note: sometimes you'll see heaps of "error" messages and the like flash by in konsole whilst the app is loading - don't be concerned as this is usually some conflicts with not having configured most apps as su. The app should still open in " un-customized " mode and be just as usable as you would use it as ' user '.

Should things not seem to finish in konsole once you close the app - just do the <Ctrl+C> thing as you would to end a normal running command.

Enjoy and in your case - enjoy how it is you can control things from now on.

--
Newbie Seeking USER_FUNCTIONALITY always!

Regards

SnapafunFrank

Big or small, a challenge requires the same commitment to resolve.
Registered Linux User # 324213



____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to