Here you go... this code will set the SUNRAY var as the MAC address of the DTU. It works in CAM mode.

SUNRAY=`/opt/SUNWut/sbin/utdesktop -Lc | /usr/bin/grep ${SUN_SUNRAY_TOKEN} | /usr/bin/cut 
-f 1 -d " "`


Christoph Litauer wrote:
Dear admins,

for some reason I need to determine the MAC address of a DTU running in
CAM mode using a smartcard. It would be no problem getting it as root
user using

utsession -l -u $LOGNAME

But as any cam user (utcu##) I only get a "No permission" error. Any
other way to get the mac? Thanks a lot in advance.

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

Reply via email to