?
Solved

limiting user account to one session

Posted on 1998-11-19
2
Medium Priority
?
268 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
[X]
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
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 200 total points
ID: 1812364
# put that lines in /etc/profile
if test `who | grep $LOGNAME` -gt 1
then exit
fi
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.:
Suggested Courses

765 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