Sender: rich AT phekda DOT freeserve DOT co DOT uk Message-ID: <3A6AEC96.4F46DBF5@phekda.freeserve.co.uk> Date: Sun, 21 Jan 2001 14:05:10 +0000 From: Richard Dawe X-Mailer: Mozilla 4.51 [en] (X11; I; Linux 2.2.17 i586) X-Accept-Language: de,fr MIME-Version: 1.0 To: djgpp-workers AT delorie DOT com Subject: Re: Status update (Smalltalk/Python) References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com Hello. Eli Zaretskii wrote: > > On Sun, 21 Jan 2001, Tim Van Holder wrote: > > Wasn't sure what to use for a value though; would apps expect > > crypt()'ed values or plaintext? > > Could people who can access Unix and GNU/Linux boxes please look what > they do? The password seems to be crypted. For the group password I get 'x', which is what /etc/group contains for my user. This appears to be equivalent tp a blank password field. This is on RedHat Linux 6.2 with glibc 2.1.3. I don't have any groups with passwords. Perhaps someone who does can use my test program? Here's my test program: ---start getpwnam() test program--- #include #include #include #include #include int main (void) { struct passwd *my_pwd = getpwnam("rich"); struct group *my_grp = getgrnam("rich"); if ((my_pwd == NULL) || (my_grp == NULL)) return(EXIT_FAILURE); printf("User %s's password is %s\n", my_pwd->pw_name, my_pwd->pw_passwd); printf("Group %s's password is %s\n", my_grp->gr_name, my_grp->gr_passwd); return(EXIT_SUCCESS); } ---end getpwnam() test program--- > > And what would be a good value? Maybe we could select one randomly > > from "secret", "password" and "god" :-) > > I'm open to suggestions... > > I suggest to start a contest for the best password. How about "open-sesame"? Bye, Rich =] -- Richard Dawe http://www.bigfoot.com/~richdawe/ "The soul is the mirror of an indestructible universe." --- Gottfried W. Leibniz