Re: Password reset for unix

2011-05-02 Thread Jim Gibson
At 10:46 PM -0400 5/1/11, shawn wilson wrote: jim, you setup your boxes a certain way to make sure this doesn't fail? No. The systems are plain vanilla Red Hat Linux (old versions because they run proprietary software). so, the problems i see with this: 1. password schema - newer systems

Rounding Date/Time

2011-05-02 Thread Matt
Have a date: 2011-05-02-16:40:51 Using this to get it: $tm = gmtime; $time_stamp = sprintf "%04d-%02d-%02d-%02d:%02d:%02d", $tm->year + 1900, $tm->mon + 1, $tm->mday, $tm->hour, $tm->min, $tm->sec; print "$time_stamp\n"; I need to round it to nearest 5 minute point. 2011-05-02-16:40:51 needs

Re: Rounding Date/Time

2011-05-02 Thread Uri Guttman
> "M" == Matt writes: M> Have a date: M> 2011-05-02-16:40:51 M> Using this to get it: M> $tm = gmtime; M> $time_stamp = sprintf "%04d-%02d-%02d-%02d:%02d:%02d", M> $tm->year + 1900, $tm->mon + 1, $tm->mday, $tm->hour, $tm->min, $tm->sec; M> print "$time_stamp\n"; use POSIX

Re: Rounding Date/Time

2011-05-02 Thread Jim Gibson
On 5/2/11 Mon May 2, 2011 9:46 AM, "Matt" scribbled: > Have a date: > > 2011-05-02-16:40:51 > > Using this to get it: > > $tm = gmtime; > $time_stamp = sprintf "%04d-%02d-%02d-%02d:%02d:%02d", > $tm->year + 1900, $tm->mon + 1, $tm->mday, $tm->hour, $tm->min, $tm->sec; > print "$time_stamp\n

Re: Password reset for unix

2011-05-02 Thread Kenneth Wolcott
On Mon, May 2, 2011 at 08:17, Jim Gibson wrote: > > At 10:46 PM -0400 5/1/11, shawn wilson wrote: >> >> jim, you setup your boxes a certain way to make sure this doesn't fail? > > > No. The systems are plain vanilla Red Hat Linux (old versions because they > run proprietary software). > >> >> so,

Re: Password reset for unix

2011-05-02 Thread shawn wilson
On May 2, 2011 2:14 PM, "Kenneth Wolcott" wrote: > > It looks like you have a great working system for annually forcing > the change of UNIX passwords in a systematic manner, but it would > definitely not be good to emulate your system in the general case > because very few people on this list (