Re: config date

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/03/11 19:43, Felix Miata wrote:
> On 2011/01/03 18:33 (GMT-0500) Paolo Galtieri composed:
>
>> On 01/03/11 18:55, Felix Miata wrote:
>
>>>   Is there another cmdline date configuration tool? system-config-date seems to
>>>   require X (depends on gnome-python2-canvas; RuntimeError: could not open
>>>   display), which ATM will not start on my system, while each boot corrupts the
>>>   time in the amount of the TZ offset.
>
>> you can use the date command.
>
> As it stands now I must do that every boot, which is what I don't want to
> keep needing to do.
>
> 	set date != config date
>
>> Usage: date [OPTION]... [+FORMAT]
>>      or:  date [-u|--utc|--universal] [MMDDhhmm[[CC]YY][.ss]]
>> Display the current time in the given FORMAT, or set the system date.
>
> What cmdline (not GUI) tool is used to config(ure) ntpd (aka "config date")?

you can run

chkconfig ntpd on

This configures ntpd to run as a service.

Then run

service ntpd start

to start it.  When you reboot the system ntpd will run and as long as 
you have internet connectivity your date will be set.  You can run 
tzselect to set timezone info.

Paolo
-- 
test mailing list
test@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe: 
https://admin.fedoraproject.org/mailman/listinfo/test


[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux