Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by bitforbrains

  1. bitforbrains

    /etcpasswd & /etc/shadow

    Here's what I did, maybe it'll be helpful NOTE: this sets the password to x, so that it can be set later in the shadow file. if you're not using a shadow file, use the crypt() function, it has a man page, or reply and I can tell you how to use it. int addUser(char* username, int uid, int gid...
  2. bitforbrains

    Shadow/MD5 Passwords

    I'm writing a program that modifies the /etc/shadow file directly, but I can't figure out how to generate md5 passwords. Does anyone have any experience in this? Thanks, Chad
  3. bitforbrains

    passwords and stuff

    I have 2 questions actually... Does anyone know an easy way to create a random salt for encrypting passwords, and, does anyone know what function/library etc. shadow passwords are created with? Thanks

Part and Inventory Search

Back
Top