[comp.sys.m68k] Setting UUCP's time zone

kdq@demott.COM (Kevin D. Quitt) (06/28/90)

    On the Motorola Delta 3000 series, running 3.51 (haven't had time to
upgrade yet), our UUCP stamps everything EST/EDT, and I have not been able
to find a way to make it use PST/PDT.  Yes, TZ=PST8PDT.  Any ideas?


-- 
 _
Kevin D. Quitt         demott!kdq   kdq@demott.com
DeMott Electronics Co. 14707 Keswick St.   Van Nuys, CA 91405-1266
VOICE (818) 988-4975   FAX (818) 997-1190  MODEM (818) 997-4496 PEP last

                96.37% of all statistics are made up.

heiby@mcdchg.chg.mcd.mot.com (Ron Heiby) (06/29/90)

I assume you are using System V/68 Release 3 version 5.1.  The uucp
timestamp problem is built in to System V Release 3.  There is no simple
way to change it.  You might be able to do something clever like moving
your uucico to uucico.real and creating a new uucico which is a shell
script that does nothing but set the time zone and invoke uucico.real
with all of its arguments.  I haven't tried this, but can't think of
any reason it shouldn't work.  Let us all know how it goes!
-- 
Ron Heiby, heiby@chg.mcd.mot.com	Moderator: comp.newprod
"Mandatory Drug Testing?  Just Say NO!!!"

kdq@demott.COM (Kevin D. Quitt) (07/04/90)

In article <40227@mcdchg.chg.mcd.mot.com> heiby@mcdchg.chg.mcd.mot.com (Ron Heiby) writes:
>I assume you are using System V/68 Release 3 version 5.1.  The uucp
>timestamp problem is built in to System V Release 3.  There is no simple
>way to change it.  You might be able to do something clever like moving
>your uucico to uucico.real and creating a new uucico which is a shell
>script that does nothing but set the time zone and invoke uucico.real
>with all of its arguments.  I haven't tried this, but can't think of
>any reason it shouldn't work.  Let us all know how it goes!

    I got the suggestion from Dean Hall, (dean@pdx.csd.mot.com).

in /etc/passwd:

nuucp:(passwd):10:10:srhqla UUCP:/usr/spool/uucppublic:/usr/lib/uucp/uushell


in /usr/lib/uucp/uushell:

exec env 'TZ=PST8PDT' /usr/lib/uucp/uucico

 1 -rwxrwxr-x   1 root     sys           43 Jun 29 12:55 /usr/lib/uucp/uushell*

-- 
 _
Kevin D. Quitt         demott!kdq   kdq@demott.com
DeMott Electronics Co. 14707 Keswick St.   Van Nuys, CA 91405-1266
VOICE (818) 988-4975   FAX (818) 997-1190  MODEM (818) 997-4496 PEP last

                96.37% of all statistics are made up.