#!/bin/bash
################################################################################
# Name: /IBM/bin/getUser
# Purpose: generates /tmp/snmp/70 which contains the name of the user
#          currently logged into the console (i.e. :0)
################################################################################

CURUSER=`who | grep -E "tty1" | cut -f1 -d" "`
echo $CURUSER > /tmp/snmp/70
