Welcome to the Linux Foundation Forum!

Which users can login

Options

Hello,

Is there a way to show which users could log onto the system and all groups available on the system. NOT which users were currently online and which groups you belong to.

Thanks,

Usman

Comments

  • marc
    marc Posts: 647
    Options
    That's *VERY* difficult to know.

    However, in the average system, everything is in /etc/passwd (those users with no "nologin" or "false" at the end can log in) and /etc/group

    Regards

Categories

Upcoming Training