ref: a0dc0a9b1b81655ba2e9fa87f74f07a4fcea825d
dir: /sys/src/cmd/auth/enable/
#!/bin/rc
if(! ~ $#* 1){
echo 'usage: auth/enable user' >[1=2]
exit usage
}
if(test -e /mnt/keys/$1)
echo -n ok > /mnt/keys/$1/status
if(test -e /mnt/netkeys/$1)
echo -n ok > /mnt/netkeys/$1/status