Find the answer to your Linux question:
Results 1 to 5 of 5
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    How to confirm a user logged in is a remote user?

    How do I confirm if a user logged in, is remote or local? In the case the user is remote, how to be sure what authentication/method is it using, like LDAP, NIS or other?

  2. #2
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    This will tell you local or remote
    For the auth method:
    I believe there is no other way then to review the configuration of that box.
    You must always face the curtain with a bow.

  3. #3
    actually theres a user "abc123". Its not listed in /etc/passwd. so i wanted to know it gets authenticated to login to this machine.


  4. $spacer_open
  5. #4
    Maybe look for instances of that username in your system logs:
    grep -r abc123 /var/log

  6. #5
    this will list all instance of abc123 your system is configured for
    getent passwd abc123
    this will list where your system look for, to authenticate users
    grep passwd /etc/nsswitch.conf

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts