Solved

Solaris Users

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
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.:
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.

920 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