Solved

limiting user account to one session

Posted on 1998-11-19
2
264 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Convert OverPunch 25 64
Write an app 10 70
Shell Script on AIX 7 96
capture vmstat info and insert it into an oracle table 31 15
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
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 navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

770 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