[Samba] process owner

Herb Lewis herb at sgi.com
Tue Dec 10 15:55:01 GMT 2002


Try smbstatus

Alaa Mail wrote:
> 
> Hi
> 
> how can I find which user using (openning) a file in windows machine from unix via samba
> 
> for example if  I have the following file which is a outlook file and it open by a user in my network
> 
> prompt> ls -l outlook.pst
> -rw-rw----   1 aaa      mannet   1130496 Mar 21  2002
> 
> when I use fuser
> 
> prompt> fuser -fu outlook.pst
> I get the following process
> 
> outlook.pst:      760094o(root)
> 
> then when I try to grep the above process
> 
> prompt> ps -ef |grep 760094
> 
> I get the following
> root     760094 530920  0.0   Dec 09 ??           0:22.33 sbin/smbd -D
> 
> which owned by the root
> 
> regards
> Alaa
> 
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba

-- 
======================================================================
Herb Lewis                               Silicon Graphics 
Networking Engineer                      1600 Amphitheatre Pkwy MS-510
Strategic Software Organization          Mountain View, CA  94043-1351
herb at sgi.com                             Tel: 650-933-2177
http://www.sgi.com                       Fax: 650-932-2177          
PGP Key: 0x8408D65D
======================================================================



More information about the samba mailing list