owner of a smbd thread

Andrew Bartlett abartlet at pcug.org.au
Wed Dec 5 21:00:08 GMT 2001


On Thu, 6 Dec 2001, Ionel GARDAIS wrote:

> Hi,
>
> I've set up a Samba server accessed by NTWS 4.
>
> When I do a "ps aux" on the server, i can see a line
> for each user connected with a "smbd -D" command.
>
> The owners of these commands are mostly root but
> sometimes the users themselves.
>
> How to force the owner of the command in order to be
> available to get a list of connected users with an "ps
> aux" and an "awk" statement ?
>
> Thanks,
> ionel

What you really want is to use either smbstatus or the --with-utmp
option to get this kind of information.

-- 
Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net





More information about the samba mailing list