* Running 'clock -Ar' each time a user logs in
@ 1998-01-03 5:00 Steve O'Sullivan
1998-01-04 5:00 ` Trent Piepho
0 siblings, 1 reply; 2+ messages in thread
From: Steve O'Sullivan @ 1998-01-03 5:00 UTC (permalink / raw)
Red Hat Linux 4.2 on a Multia 166
I am trying to get my clock calibrated and run each time a user logs in. Is
this feasible? How might I accomplish this?
I am running Red Hat Linux 4.2 on an Alpha Multia, and am drowning here!
Thanks in advance!
:)
Sully
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Running 'clock -Ar' each time a user logs in
1998-01-03 5:00 Running 'clock -Ar' each time a user logs in Steve O'Sullivan
@ 1998-01-04 5:00 ` Trent Piepho
0 siblings, 0 replies; 2+ messages in thread
From: Trent Piepho @ 1998-01-04 5:00 UTC (permalink / raw)
In article <68mcps$6lh$2@nntp2.ba.best.com>,
Steve O'Sullivan <sos@best.com> wrote:
>I am trying to get my clock calibrated and run each time a user logs in. Is
>this feasible? How might I accomplish this?
That's rather a pain to do. clock needs to run as root, so you would have to
make it suid. But clock isn't supposed to be suid, so you shouldn't do that.
Rather than having clock run when somone logs in, why not put it in your
crontab? I have a line like this in root's crontab to adjust my clock every
hour:
0 * * * * /sbin/clock -a
--
|Gazing up to the breeze of the heavens \ on a quest, meaning, reason |
|came to be, how it begun \ all alone in the family of the sun |
|curiosity teasing everyone \ on our home, third stone from the sun. |
|Trent Piepho (xyzzy@u.washington.edu) -- Metallica |
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1998-01-04 5:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-01-03 5:00 Running 'clock -Ar' each time a user logs in Steve O'Sullivan
1998-01-04 5:00 ` Trent Piepho
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox