user issues


 
Thread Tools Search this Thread
# 1  
user issues

Hi there,

I'm a beginner with UNIX and have to manage a set of 15 users. The problem we have is that there are only 15 licenses for these users, so occasionally they get locked out and can't log back on.

I've been using the ps -ef|grep command to check the users, as well as the w commnand, also using the kill -9 command, however, one of my client's simply can't connect even though the licences are available once I logout (I am 'root'). it's PC6 who is unable to logon - gives an error of maximum users.

Is there anything else I can do/ any other command to see which processes are locked, etc? I've been searching online with no success just yet.

http://www.bsd.org/unixcmds.html
http://www.indiana.edu/~uitspubs/b017/

# w
12:04pm up 41 days, 19:30, 30 mins, 15 users, load average: 0.18, 0.18, 0.00
User Tty Login@ Idle JCPU PCPU What
pc9 ttyp0 9:58am 4 00:33 00:31 dfrun
pc3 ttyp1 8:08am 00:50 00:47 dfrun
pc2 ttyp2 11:43am 00:09 00:08 dfrun
pc10 ttyp3 8:08am 00:47 00:42 dfrun
pc13 ttyp4 8:17am 01:24 01:19 dfrun
pc5 ttyp5 8:33am 01:34 01:27 dfrun
pc15 ttyp7 8:38am 3 00:49 00:46 dfrun
pc8 ttyp8 11:32am 00:21 00:19 dfrun
pc11 ttyp9 8:38am 01:37 01:33 dfrun
pc12 ttyp10 8:52am 01:03 01:01 dfrun
pc1 ttyp11 9:03am 3 00:29 00:27 dfrun
pc4 ttyp12 9:10am 4 00:27 00:26 dfrun
pc14 ttyp13 9:25am 01:36 01:31 dfrun
pc7 ttyp14 9:25am 1 01:18 01:14 dfrun
root ttyp15 12:04pm 00:00 00:00 w
#

Your assistance would be most appreciated!
# 2  
Quote:
Originally Posted by Lmm05
Hi there,

I'm a beginner with UNIX and have to manage a set of 15 users. The problem we have is that there are only 15 licenses for these users, so occasionally they get locked out and can't log back on.
I don't quite get it. Why is 15 licenses for 15 users a problem? And which UNIX is this that has such asinine license restrictions, so that I may advocate not using it for the rest of my life?
# 3  
sorry...

Unfortunately, that's the way the system is. If you have any ideas of how to view and clear any locks on accounts, I would love to hear them.
# 4  
Which UNIX is it? They're not all the same, what solution you get might depend on it.
# 5  
unix

is there any way for me to find out?
# 6  
Post the output of
Code:
uname -a

# 7  
Terminal type is xterm
# uname -a
SCO_SV tmds4 3.2 2 i386
 

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #346
Difficulty: Easy
AWK was created at Bell Labs in the 1960s,
True or False?

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Switching from root to normal user takes me to user's home dir

Whenever i switch from root to another user, by doing su - user, it takes me to home directory of user. This is very annoying as i want to be in same dir to run different commands as root sometimes and sometimes as normal user. How to fix this? (1 Reply)
Discussion started by: syncmaster
1 Replies

2. Web Development

Apache write permission issues to another user owned directory

Hi I am trying to make a web program which is command line equivalent. i have done the coding in cgi program in perl and html for basic forms to take inputs. when i ran the program from web application i see permission denied messages. after analyzing i found apache is running as wwwrun which... (2 Replies)
Discussion started by: rakeshkumar
2 Replies

3. Shell Programming and Scripting

Script interacts with user , based on user input it operates

i have a script which takes input from user, if user gives either Y/y then it should continue, else it should quit by displaying user cancelled. #!/bin/sh echo " Enter your choice to continue y/Y OR n/N to quit " read A if then echo " user requested to continue " ##some commands... (7 Replies)
Discussion started by: only4satish
7 Replies

4. Shell Programming and Scripting

Update LDIF User info based on Test User Certs ID's

Hi I need help.......... I have an Sun One Directory server LDIF file with 5000 user entries, I need to change the data to match Test ID's, so I can run a perf test. I'm way out of my league as I have not done any scripting for 10 years. There are four entries for each user in the file... (3 Replies)
Discussion started by: Macdaddy99
3 Replies

5. UNIX for Advanced & Expert Users

Determining if user is local-user in /etc/passwd or LDAP user

Besides doing some shell-script which loops through /etc/passwd, I was wondering if there was some command that would tell me, like an enhanced version of getent. The Operating system is Solaris 10 (recent-ish revision) using Sun DS for LDAP. (5 Replies)
Discussion started by: ckmehta
5 Replies

6. Shell Programming and Scripting

root user command in shell script execute as normal user

Hi All I have written one shell script for GPRS route add is given below named GPRSRouteSet.sh URL="www.google.com" VBURL="10.5.2.211" echo "Setting route for $URL for GPRS" URL_Address=`nslookup $URL|grep Address:|grep -v "#"|awk -F " " '{print $2}'|head -1` echo "Executing ... (3 Replies)
Discussion started by: mnmonu
3 Replies

7. Red Hat

Issues with LDAP user/group permissions on NFS share

I can't seem to make sense of this. $ cat /etc/redhat-release Red Hat Enterprise Linux Server release 5.2 Beta (Tikanga) $ $ mount /dev/sda2 on / type ext3 (rw) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) devpts on /dev/pts type devpts (rw,gid=5,mode=620) /dev/sda1 on... (6 Replies)
Discussion started by: dfinn
6 Replies

8. UNIX for Dummies Questions & Answers

Difference between : Locked User Account & Disabled User Accounts in Linux ?

Thanks AVKlinux (3 Replies)
Discussion started by: avklinux
3 Replies

9. Shell Programming and Scripting

How do i change to super user then revert back to ordinary user ,using shell script?

Hi all, I am trying to eject the cdrom from a livecd after certain stage... Now assuming that it is possible to eject,please consider my issue!!! The OS boots into a regular user by default...so i am unable to use the eject command to push out the drive... However if i try pfexec eject it... (3 Replies)
Discussion started by: wrapster
3 Replies

Featured Tech Videos