Solved

Solaris Users

Posted on 1998-11-30
2
192 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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
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…
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.

832 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