Re: [Hampshire] Changing user passwords without shell access

Top Page
Author: David Ramsden
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] Changing user passwords without shell access

Reply to this message
gpg: failed to create temporary file '/var/lib/lurker/.#lk0x57d95100.hantslug.org.uk.13712': Permission denied
gpg: keyblock resource '/var/lib/lurker/pubring.gpg': Permission denied
gpg: Signature made Sat Feb 24 17:49:05 2007 GMT
gpg: using DSA key B15F69BD3454B217
gpg: Can't check signature: No public key
Adrian Bridgett wrote:
> On Thu, Feb 22, 2007 at 10:40:17 +0000 (+0000), Steve Kemp wrote:
>> In the past I admin'd a machine setup with a shell script which
>> could be simplified to this for each user:
>
> The problem with that approach would be that any shell script can
> normally be broken out of with fast enough Ctrl-C :-)
>


$ man signal 7

-----
#!/bin/sh

trap '' 2 3 4 9 11 15 17 19 23 18 20 24

while /bin/true;
do
    echo "foo"
    sleep 1
done
-----


Might help?

Regards,
David.
-- 
 .''`.     David Ramsden
: :'  :    http://0wned.it/
`. `'`     PGP key ID: 3454B217 on wwwkeys.eu.pgp.net
  `-  Debian - Because it works (tm).