>Does anyone know if you can limit the number of sessions
>a specific user can have?
To add another suggestion mixing vanilla MPE and POSIX features...
:# find jobs and sessions with my logon
:showjob job=!hpuser.!hpaccount;exec > $newpass
:
:# count sessions by lines starting #S
:xeq /bin/grep " -c '^#S' " < $oldpass > $newpass
:
:# and pick up the resulting number
:input count < $oldpass
This will only work if each user has a unique logon. If multiple
people share a common MPE logon, an approach based on HPREMIPADDR
might be more appropriate, maybe by scanning LISTFILE /!hpacct,8
output...
Lars.