I asked:
> Is there some way you can set a maximum number of sessions per user-id
> on a Solaris 2.x system?
>
> eg: so they can only have 5 sessions going at once?
>
Thanks to cmfung@ee.cuhk.edu.hk who answered:
You can put the following line in /etc/system to limit the max. no. of
user processes in the system:
set maxuprc = 30
However, I need to limit the number of times they log on rather than the number
of processes they run. The users go into a menu when they logon and run all
sorts of things - I've got no idea how many processes, it will be different each
time - they have paid for a certain number of users to access the system at any
one time.
I have decided to put something into the /etc/profile when they login which
exits if they are already logged on too many times. I will run a script at night
killing any of their sessions still left hanging around.
thanks
Marina
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:01 CDT