summaryrefslogtreecommitdiffstats
path: root/Documentation/hwclock.txt
diff options
context:
space:
mode:
authorSami Kerola2011-08-12 20:19:52 +0200
committerSami Kerola2011-08-12 20:19:52 +0200
commitf98d4f766e39efd255c9b70d3780feea9c7a7898 (patch)
tree7eef63942216eb29ef1cb1532305ee45e6a67f42 /Documentation/hwclock.txt
parentdocs: remove README.clear (diff)
downloadkernel-qcow2-util-linux-f98d4f766e39efd255c9b70d3780feea9c7a7898.tar.gz
kernel-qcow2-util-linux-f98d4f766e39efd255c9b70d3780feea9c7a7898.tar.xz
kernel-qcow2-util-linux-f98d4f766e39efd255c9b70d3780feea9c7a7898.zip
docs: Documentation directory added
Move readme, licence, change log, relese notes and other supplementary files to a Documentation directory. This commit does not change contents of any other but few Makefile.am files. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'Documentation/hwclock.txt')
-rw-r--r--Documentation/hwclock.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/Documentation/hwclock.txt b/Documentation/hwclock.txt
new file mode 100644
index 000000000..5c364212c
--- /dev/null
+++ b/Documentation/hwclock.txt
@@ -0,0 +1,17 @@
+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).