Xavier Mertens schrieb:
> Ok, I'm able to find the MAC address via this commant:
> 
> /opt/SUNWut/sbin/utuser -p `/opt/SUNWut/bin/utwho $USER | grep '{ print  $2 
> }'` | grep "Current Desktop" | awk '{ print $NF }'
> 
> Quite ugly but it worked for me!
> 

This one should work, too:

/opt/SUNWut/bin/utwho -c |
sed -n "/$SUN_SUNRAY_TOKEN/s/.*\(............\)$/\1/p"


-- 
Regards
Christoph
________________________________________________________________________
Christoph Litauer                  [EMAIL PROTECTED]
Uni Koblenz, Computing Center,     http://www.uni-koblenz.de/~litauer
Postfach 201602, 56016 Koblenz     Fon: +49 261 287-1311, Fax: -100 1311
PGP-Fingerprint: F39C E314 2650 650D 8092 9514 3A56 FBD8 79E3 27B2

_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users

Reply via email to