Re: Finding the UID for samba users
From: Paul Howarth (paul_at_city-fan.org)
Date: 08/05/05
- Previous message: Xavier Toth: "Re: dual boot fc4 and rawhide"
- In reply to: Tim Holmes: "Finding the UID for samba users"
- Next in thread: Alexander Dalloz: "Re: Finding the UID for samba users"
- Reply: Alexander Dalloz: "Re: Finding the UID for samba users"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: Xavier Toth: "Re: dual boot fc4 and rawhide"
- In reply to: Tim Holmes: "Finding the UID for samba users"
- Next in thread: Alexander Dalloz: "Re: Finding the UID for samba users"
- Reply: Alexander Dalloz: "Re: Finding the UID for samba users"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|