Find the answer to your Linux question:
Results 1 to 2 of 2
How do I know to which group a samba user belongs to. In which file can I see that?...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2011
    Posts
    41

    Samba group belongs to which group?


    How do I know to which group a samba user belongs to.

    In which file can I see that?

  2. #2
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    This assumes the Samba user is the same as the Linux system user, in that case:
    Code:
    id -Gn <username>
    will list the groups that said user belongs to, with their primary group being listed first.

Posting Permissions

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