[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

limiting user account to one session

Posted on 1998-11-19
2
Medium Priority
?
269 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
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 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…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

650 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