Crack removes all passwd entries

Crack removes all passwd entries

Post by Greg Gree » Mon, 02 Sep 1996 04:00:00



I have version 4.1 of crack running under Solaris 2.5 and found that it
removes all entries in the passwd file, including the valid ones.  I
use shadmrg to merge the shadow file with the passwd file.  I have traced
the problem to do_join which looks like it generates an empty file.

I'm not an expert with awk so before I look into this in more detail
I was wondering if anyone else has experienced this.  I ran crack on
a passwd file from a sunos machine and it works fine.  I looked into this
more and found that the problem is the password itself.  I took identical
entries from 2 different passwd files (the only difference was the password)
and found that crack worked fine with one but not the other.

Any ideas?

Thanks.

 
 
 

1. removing entry from passwd file?

I'm writing a series of scripts and C programs to administer our
users on various Unix platforms.

We can add someone with 'chpass -a PASSWORDSTRING', but we haven't
been able to find a way to remove someone.

Is there any way to remove a user from the passwd file in a
program or script without rewriting the source to one of
the standard password programs?

allan chong

2. Seriously! What will it take?

3. slackware: pkgtool doesn't remove gonzo passwd entries

4. TFTP

5. Removing entries in /etc/shadow and /etc/passwd via a program

6. Newbie - /unable to get status of mouse fd

7. NIS+ removing a passwd entry

8. _authunix_create_default()

9. Crack for passwd

10. Crack 5.0 - How to safely collect passwd files?

11. Crack the Passwd

12. Crack passwd formula

13. How to crack /etc/passwd