Unix/Linux Go Back    


Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

Identify which authentication method was used at logon

Solaris


Tags
authentication, login, password, private key

Closed    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 12-02-2009
fmattos fmattos is offline
Registered User
 
Join Date: Nov 2009
Last Activity: 2 December 2009, 11:18 AM EST
Location: Brazil
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Identify which authentication method was used at logon

Experts,

Is there any way to know which authentication method the user used to login into the box? I mean, is possible to identify if an active user had logged using keys or password for example?

Let me clarify: we have a script that we want to allow users to execute only if they have used their private keys to login the machine.

Is there such a thing?

We are using Solaris 10.

Thanks in advance.
Sponsored Links
    #2  
Old Unix and Linux 12-02-2009
incredible incredible is offline Forum Advisor  
Registered User
 
Join Date: May 2008
Last Activity: 24 August 2014, 5:15 AM EDT
Location: SINGAPORE.. The "FINE" City
Posts: 2,693
Thanks: 1
Thanked 19 Times in 19 Posts
This can be checked either from the syslog or messages file. You can script to to grep certain keywords or phrases like "logon" , "Failed" etc
Sponsored Links
    #3  
Old Unix and Linux 12-02-2009
fmattos fmattos is offline
Registered User
 
Join Date: Nov 2009
Last Activity: 2 December 2009, 11:18 AM EST
Location: Brazil
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
I just grep those files and can't found neither. Guess I hadn't make myself clear, users must still allowed to login thru password authentication, however we want to give them the ability to run a specific script only when they used private keys.

My bad I forgot to say but my group isn't root on this specific box; we do have high privileges but still we're not root.

Thanks.
Sponsored Links
Closed

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
AIX: How to check which authentication method we are using for a user? quanba AIX 1 09-16-2009 11:19 PM
aix logon trekme AIX 5 01-28-2009 06:06 AM
ssh logon antointoronto Solaris 8 07-23-2008 12:09 AM
Alternate Logon Method? earnstaf Forum Support Area for Unregistered Users & Account Problems 2 08-16-2007 03:54 PM
About Logon nokia1100 Shell Programming and Scripting 1 04-05-2007 07:21 AM



All times are GMT -4. The time now is 05:51 PM.