Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

limiting user account to one session

Posted on 1998-11-19
2
265 Views
Last Modified: 2013-12-16
How do I keep a user from having more than one simultaneous telnet session to his/her account?  I'm using Unixware 2.1.2.
0
Comment
Question by:goodhew
2 Comments
 
LVL 1

Expert Comment

by:arthurd
ID: 1812363
I've heard that this can prevent multiple logins as well as kick of idle users.  It's in a FreeBSD format, but I'm sure you can compile it for Unixware.

ftp.cdrom.com:/pub/FreeBSD/distfiles/idled-1.16.tar.gz
0
 
LVL 1

Accepted Solution

by:
toTo earned 100 total points
ID: 1812364
# put that lines in /etc/profile
if test `who | grep $LOGNAME` -gt 1
then exit
fi
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question