util-linux/hwclock
Karel Zak 842f917664 hwclock: tiny change in comment
... to keep 'make checkconfig' happy.

Signed-off-by: Karel Zak <kzak@redhat.com>
2011-07-28 13:24:26 +02:00
..
.gitignore build-sys: ignore a bunch of generated files, mostly binaries 2008-04-14 14:08:00 +02:00
Makefile.am hwclock: validate numeric option arguments 2011-07-26 18:15:14 +02:00
README.hwclock hwclock: remove misleading information 2011-07-24 17:28:21 +02:00
clock.h hwclock: validate numeric option arguments 2011-07-26 18:15:14 +02:00
cmos.c hwclock: fix compiler warnings 2011-07-26 18:14:19 +02:00
hwclock.8 hwclock: make RTC default to UTC time 2011-02-21 17:07:57 +01:00
hwclock.c hwclock: tiny change in comment 2011-07-28 13:24:26 +02:00
kd.c hwclock: use libc error printing functions 2011-07-26 17:54:30 +02:00
rtc.c hwclock: use libc error printing functions 2011-07-26 17:54:30 +02:00

README.hwclock

Hwclock is a program that runs under Linux and sets and queries the 
Hardware Clock, which is often called the Real Time Clock, RTC, or
CMOS clock.

Sometimes, you need to install hwclock setuid root.  If you want users
other than the superuser to be able to display the clock value using the
direct ISA I/O method, install it setuid root.  If you have the /dev/rtc
interface on your system or are on a non-ISA system, there's probably
no need for users to use the direct ISA I/O method, so don't bother.

To install setuid root, do something like this:

  chmod a=rx,u=s /sbin/hwclock

In any case, hwclock will not allow you to set anything unless you have
the superuser _real_ uid.  (This is restriction is not necessary if you
haven't installed setuid root, but it's there for now).