Solved

Solaris Users

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

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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Suggested Solutions

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…
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
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…
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.:

733 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