How do I demonstrate that these users have been created and are assigned to their a certain group?

Can I do this by the command line or do I have to do it by the GUI (graphical user interface)

closed as unclear what you're asking by Celada, John, cuonglm, mdpc, Archemar Mar 28 '16 at 15:47

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    What is "these users"? Please clarify. Are you just looking for a way to check existence and group membership of users (like the groups command)? – Celada Mar 28 '16 at 14:52

To prove a user exists, use getent passwd <userid>. If it shows you a user record, that user exists. Possibly remotely (i.e. LDAP), not necessarily locally (/etc/passwd). To list a users groups, use groups <userid>.

Not the answer you're looking for? Browse other questions tagged or ask your own question.