Re: Finding the UID for samba users

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tim Holmes wrote:
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


[Tim Holmes]
For some odd reason, it does not like that when I specify the username
as domain/username domain\username DOMAIN/USERNAME or DOMAIN/USERNAME it
chokes on it every time, so I don't know whats up, but using the UID
works nicely, so its not a huge deal

How about 'domain\username' (with the quotes) or domain\\username rather than just domain\username? Remember that "\" is a shell metacharacter.

Paul.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux