Re: Finding the UID for samba users

From: Paul Howarth (paul_at_city-fan.org)
Date: 08/05/05

  • Next message: Tim Holmes: "RE: Finding the UID for samba users"
    Date: Fri, 05 Aug 2005 18:06:44 +0100
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    
    

    Tim Holmes wrote:
    > Hi Folks:
    >
    > I am in the process of moving all of our users over to our new Samba
    > File server which runs FC3.
    >
    > In order to properly secure the home folders, I need to chown them to
    > the UID of the individual user, and chgrp them to the domain users
    > group. I know the GID for the domain users, so no problem there. Is
    > there a way to find a list of the UID for all the users.
    >
    > I know that I can do it by logging in as each individual user, and then
    > touching a file in a public directory, but that seems like the long way
    > around the barn to get it done.
    >
    > Any insights?

    Try:

    getent passwd username | cut -d: -f3

    Substitute "username" with the username you're interested in.

    Paul.

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Tim Holmes: "RE: Finding the UID for samba users"

    Relevant Pages

    • Finding the UID for samba users
      ... File server which runs FC3. ... I know the GID for the domain users, ... I know that I can do it by logging in as each individual user, ... Jeremiah 33:3 ...
      (Fedora)
    • Re: Authentication problems when not on local network
      ... What I want to do is be able to connect the laptop to other subnets at my ... laptop gets company DNS servers and "company.com" DNS via DHCP. ... When I try to connect to the file server via IP address (as the local name ... username and password. ...
      (microsoft.public.windows.server.networking)
    • TalkTalk Problem (was Re: FilecoreCk)
      ... that the only RISC OS browser able to initiate the setup was Firefox 1 ... Logon opens a window with File Server ... refer to the TalkTalk username and password there are two problems. ...
      (comp.sys.acorn.apps)
    • Re: Workgroup clients can access domain shares
      ... An open session from the NT machine to your file server with the shares ... with an account that has full access to them. ... A username and a password that match a username and the associated ... Saved credentials for access to the file server in Credential Manager. ...
      (microsoft.public.security)
    • Re: application pool custom identity
      ... We are using only NT integrated authentication. ... When the AppPool ... > directories to link to the various docs on the file server. ... > their username, password, and domain. ...
      (microsoft.public.inetserver.iis)