Solved

Solaris Users

Posted on 1998-11-30
2
190 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
Comment Utility
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
Comment Utility
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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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 …
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
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.
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.

743 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now