user issues


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers user issues
# 1  
Old 11-17-2006
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  
Old 11-17-2006
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  
Old 11-17-2006
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  
Old 11-17-2006
Which UNIX is it? They're not all the same, what solution you get might depend on it.
# 5  
Old 11-17-2006
unix

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

# 7  
Old 11-17-2006
Terminal type is xterm
# uname -a
SCO_SV tmds4 3.2 2 i386
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Pam.d and make difference between AD User and local user on Linux

Hello, i configured rhel linux 6 with AD directory to authorize windows users to connect on the system and it works. i have accounts with high privileges (oracle for example) if an account is created on the AD server i would to block him. I looked for how to do, for the moment all the... (3 Replies)
Discussion started by: vincenzo
3 Replies

2. Shell Programming and Scripting

How to Switch from Local user to root user from a shell script?

Hi, I need to switch from local user to root user in a shell script. I need to make it automated so that it doesn't prompt for the root password. I heard the su command will do that work but it prompt for the password. and also can someone tell me whether su command spawns a new shell or... (1 Reply)
Discussion started by: Little
1 Replies

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
Login or Register to Ask a Question