-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 21-12-2004 16:07, Jonas Smedegaard wrote: > On 21-12-2004 15:26, Ralf Gesel|ensetter wrote:
>>>On http://www.lug-marl.de/kurs/my_pub_howto.txt I found: >>> >>>#$1 is a list thin clients host names / IPs > > > Uh - you probably didn't notice that a few lines up it said "Citrix", > did you? I realize now that _I_ mixed up things at that page. Sorry! Still that loop seems to only work in environments less secure than Debian-based. Try the following (based on Finn-Arnes loop and your xlock syntax - I haven't tested myself): who | while read WHO WHERE WHEN ; do case $WHERE in :[0-9]*) su -c "xlock -remote -mode blank -display $WHERE &" $WHO ;; esac done You may need to add the "-allowaccess" option (but I am a bit suspicious about it). You may also need to install and use sux (instead of su). It is a shell script so even if unavailable on Woody you should be able to copy it from a sarge of sid package (use mc to go into the package and grab the script directly). - Jonas - -- * Jonas Smedegaard - idealist og Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ - Enden er n�r: http://www.shibumi.org/eoti.htm -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFByFpVn7DbMsAkQLgRAtUNAJ4rMd5DJEdV9suHAnD6UYY7NfmDAQCggq1S +QegzrvTkhWFuMoybvoqhUA= =dGbh -----END PGP SIGNATURE-----

