Skip to main content

Is there a way to prompt for users to enter some items like their username and room location? We've distributed computers to a number of people and want to ensure they're in the right spots. Thanks for any help.

Ive used an attribute extension to find the current user, but as for location how would the computer know where it is? below is what i use to find the current user at check-in.



#!/bin/bash
user=`/bin/ls -l /dev/console | /usr/bin/awk '{ print $3 }'`
echo "<result>$user</result>"

Reply