Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OS - Debian: setting time and automatic date - time adjustment #25

Open
practicalli-johnny opened this issue Sep 19, 2024 · 1 comment
Assignees

Comments

@practicalli-johnny
Copy link
Contributor

The OS system date can be changed by the root account or accounts in the sudo group.

GNOME Automatic Date & Time provides its own timedatectl service rather than use the ntp service via the debian ntp package.

To disable automatic date-time:

timedatectl set-ntp 0

To switch on

timedatectl set-ntp 1

When the timedateclt is disabled, then the date command can be used to set a specific date and or time.

Example: set the date and time

 date -s '2024-09-16 21:32:00'

date command will show the current date, confirming that the OS system date was changed.

@practicalli-johnny
Copy link
Contributor Author

Added journal entry on setting time on Debian Linux

https://practical.li/journal/megalinter-grafana-dashboards/#debian

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

No branches or pull requests

1 participant