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.)
- cd shadow-#####/
- make save
- make all
- make install
- /usr/sbin/pwconv
- mv ./npasswd /etc/passwd
- mv ./nshadow /etc/shadow
- chmod 644 /etc/passwd
- chmod 640 /etc/shadow
- chown root.root (or root.wheel or root.shadow) /etc/shadow
- 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>