Solved

Solaris Users

Posted on 1998-11-30
2
193 Views
Last Modified: 2013-12-27
I want to allow a certain user to enter the system uniquly not conccurrent. I mean if there is a user called "UUUU" for example and a password called "PPPP" if "UUUU" now is logging on so if he tried from another workstation to log I don't authenticate him unless he close the other session.
0
Comment
Question by:WaelEg
2 Comments
 
LVL 1

Accepted Solution

by:
plebras earned 20 total points
ID: 2008159
Test the uniquiness of the user in /etc/profile (file executed immediately after login)
by issued a command who or rwho with a grep and test if you have one or 2 lines with the $LOGNAME of the user . If so exit and the user will return to the prompt login.
Bye
0
 

Author Comment

by:WaelEg
ID: 2008160
plebras Thanks very much for your answer but might I didn't describe the problem well.
The solaris system is only a security server. So the logged user not assummed to log totally on the system. if I write who the users don't appear I mean the authenticated users.
Explain more.
There is a device the ask a user for his user name and password. then it asks the Solaris system if the user is valid user. If he/she is a valid user it logged into the device. That is the story.
but I want the system to inhibit the user from logging again as it is now log.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
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 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…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

839 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