Finding the UID for samba users
Mogens Kjaer
mk at crc.dk
Sun Aug 7 10:16:08 UTC 2005
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.
...
Why not simply:
chown username /home/username
You don't need the numerical UID of the
user.
Mogens
--
Mogens Kjaer, Carlsberg A/S, Computer Department
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Fax: +45 33 27 47 08
Email: mk at crc.dk Homepage: http://www.crc.dk
More information about the users
mailing list