★ wanayoo — archive 1999 http://www.gaijin.com/linux/shadow.htmlNouvelle recherche | Portail wanayoo
shadow
root : index : shadow
shadow passwords

     http://www.gaijin.com/linux/ is closing. Development has halted on this and all other pages underneath the heading /linux/ for this server.

     Please note that this information is sorely out of date. There are better places to find this information.

     One of the big problems with older Slackware distributions is that they do not come with Shadow Passwords installed by default, which means that you will have to do it yourself.

     You need a copy of shadow-current.tar.gz. It will download as shadow-#####.tar.gz, where "#####" is the date of the last release. (NOTE: This link was dead last time I tried it.)

     Unarchive the file (tar zxfv shadow-#####.tar.gz) and then:

      (Note: this procedure is outdated.)

  1. cd shadow-#####/
  2. make save
  3. make all
  4. make install
  5. /usr/sbin/pwconv
  6. mv ./npasswd /etc/passwd
  7. mv ./nshadow /etc/shadow
  8. chmod 644 /etc/passwd
  9. chmod 640 /etc/shadow
  10. chown root.root (or root.wheel or root.shadow) /etc/shadow
  11. touch /var/adm/lastlog /var/adm/ftmp /var/adm/faillog /var/adm/sulog

     You are now technically shadowed. However, there is a lot left to be done and it is site-dependent.

     If you run the X Windowing System, you will have to add this line in /usr/X11R6/lib/X11/config/linux.cf :

#define HasShadowPasswd YES

     These programs will need to be recompiled to include shadow support:

  • sudo
  • Xlockmore
  • XDM
  • FTPD
  • PPPD
  • Pop Mailers

     -brandon harris

     <bharris@gaijin.com>

linux
ppp
shadow