Go to main content

Managing Authentication in Oracle® Solaris 11.4

Exit Print View

Updated: November 2020
 
 

How to Log In From a Local Console With Smart Card Authentication

Before You Begin

You have inserted a smart card into the CCID-compliant smart card reader that is attached to a PC or workstation.

  1. At the prompt, type your username.
    smartcard console login: username
    Smartcard authentication starts
    Smart card found.
    Welcome username!
  2. Type the smart card PIN.
    Smart card PIN: nnnnnnnn
    verifying certificate
    Last login: ...
    Oracle Corporation   SunOS 11.4
    You have new mail.
    username@server:~$
  3. If you typed the wrong PIN, type the PIN again.
    Error 2320: Wrong smartcard PIN
    date smartcard login: open_pkcs11_login() failed x0000000A0
    Login incorrect
    Smartcard authentication starts
    Smart card found.
    Please insert your smart card or enter your username.
    Smartcard console login: nnnnnnnn
    verifying certificate
    Oracle Corporation   SunOS 11.4
    You have new mail.
    username@server:~$
  4. (Optional) To assume a role, su to the role.

    For example, assume the root role.

    $ su -

    The terminal displays the progress of smart card authentication.

    Smartcard authentication starts
    Smart card found.
    Welcome root!
  5. Type the smart card PIN.
    Smart card PIN: nnnnnnnn
    verifying certificate
    Oracle Corporation   SunOS 11.4
    You have new mail.
    root@server: ~#

    If you typed the correct PIN, you are logged in.

  6. Type Control-D to log out of the session.