|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T u
Length: 935 (0x3a7) Types: TextFile Names: »uucp_quick.chk«
└─⟦4f9d7c866⟧ Bits:30007245 EUUGD6: Sikkerheds distributionen └─⟦3da311d67⟧ »./cops/1.04/cops_104.tar.Z« └─⟦6a2577110⟧ └─⟦4f9d7c866⟧ Bits:30007245 EUUGD6: Sikkerheds distributionen └─⟦6a2577110⟧ »./cops/1.04/cops_104.tar« └─⟦this⟧ »cops_104/extra_src/uucp_quick.chk«
#!/bin/sh # # By wietse@wzv.win.tue.nl (Wietse Venema). This will be folded into # the rest of cops and the uucp stuff, when I get a breath to take. # # # This script does almost nothing if there is no UUCP account. # On some systems, even local users can uucp files from selected # directories only. Often, these are also UUCP login directories, # and often they are world-writable. Use /tmp as a final resort. for i in /usr/spool/uucppublic /usr/spool/uucp /tmp do if touch $i/XX.$$ 2>/dev/null then cd $i break; fi done # I forgot how COPS deals with the presence or absence of NIS... (cat /etc/passwd ; ypcat passwd) 2>/dev/null | awk -F: '/uucp/ { print $1,$(NF-1) }' | while read user home do uucp XX.$$ !$home/YY.$$ 2>/dev/null && echo uucp copies files to home directory $home of account $user done # Clean up; too bad we cannot unlink the files we may have installed... rm -f XX.$$ $home/YY.$$