Re: Command to dump/restore user info OSR5



Jeff Hyman typed (on Mon, Mar 24, 2008 at 01:25:25PM -0400):
|
| Can 'ap' be used to determine if ones password has been changed?
| especially root's password? .... other then grepping '/etc/shadow'
| for a user and checking for a change?

Not at all. 'ap' just takes a snapshot of current parameters.

Just what would you grep for in /etc/shadow to tell you that a password
had changed? The file's mtime would be more relevant, but that would
just indicate some change somewhere in, and not *which* change.

You might want to check the times recorded in /tcb/files/auth/r/root.

--
JP
.



Relevant Pages

  • Re: Command to dump/restore user info OSR5
    ... Jean-Pierre Radley wrote: ... other then grepping '/etc/shadow' ... Just what would you grep for in /etc/shadow to tell you that a password ... The file's mtime would be more relevant, ...
    (comp.unix.sco.misc)
  • Re: grep speed on Opteron vs P4
    ... my Opteron box and P4 boxes. ... grep (GNU grep) 2.5.1 ... grepping a 600MB RHEL CD iso I get the following figures: ...
    (Fedora)
  • Re: [PATCH 0/2] kbuild updates
    ... simple module, no grepping ... FAIL *2 Same as FAIL *1. ... FAIL *3 Grep will fail because it try to grep in files located under build/ ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: grep speed on Opteron vs P4
    ... my Opteron box and P4 boxes. ... grep (GNU grep) 2.5.1 ... grepping a 600MB RHEL CD iso I get the following figures: ...
    (Fedora)
  • Re: War causes in F&SF
    ... machines, so that I could grep it directly. ... trivial operation. ... Even grepping through a few hundred gigs to a tera or ...
    (rec.arts.sf.written)