[SunHELP] how to find out what files a user or group has access to.

Grindell, Joan M. GrindellJ at SEC.GOV
Thu Apr 26 08:59:09 CDT 2007


Many thanks

-----Original Message-----
From: sunhelp-bounces at sunhelp.org [mailto:sunhelp-bounces at sunhelp.org]
On Behalf Of Phil Stracchino
Sent: Thursday, April 26, 2007 9:57 AM
To: The SunHELP List
Subject: Re: [SunHELP] how to find out what files a user or group has
access to.

Grindell, Joan M. wrote:
> Good morning all,
>
> 	I'm pretty sure there is a way of finding out what files a
> particular user or group has access to and what type of access they
> have.  I think the find command will probably work but I don't know
the
> arguments I need to use.
>
> 	Any help would be appreciated.

The capabilities of Sun and GNU find differ.  Which are you using?

Basically, with Sun find, you're going to want something like this:

find / -user USERNAME -ls
find / -group GNAME -ls

With GNU find, you can use this syntax, but also have the option of:

find / -uid nnn -ls
find / -gid nnn -ls


If in doubt, 'man find' is your friend.



--
 It's not the years, it's the mileage.
 Phil Stracchino              phil.stracchino at speakeasy.net
 Renaissance Man, Unix generalist, Perl hacker, Free Stater
 Landline: 603-429-0220                Mobile: 603-320-5438
_______________________________________________
SunHELP maillist  -  SunHELP at sunhelp.org
http://www.sunhelp.org/mailman/listinfo/sunhelp



More information about the SunHELP mailing list