From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,3c7e2acb6f30028a X-Google-Attributes: gid111c93,public From: xyzzy@u.washington.edu (Trent Piepho) Subject: Re: Running 'clock -Ar' each time a user logs in Date: 1998/01/04 Message-ID: <68mlgu$pv2$1@nntp6.u.washington.edu>#1/1 X-Deja-AN: 312536211 References: <68mcps$6lh$2@nntp2.ba.best.com> X-Complaints-To: help@cac.washington.edu X-Trace: nntp6.u.washington.edu 883874142 26594 (None) 140.142.64.6 Organization: University of Washington NNTP-Posting-User: xyzzy Newsgroups: comp.os.linux.alpha In article <68mcps$6lh$2@nntp2.ba.best.com>, Steve O'Sullivan 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 |