file interrogation

Joseph C. Lininger jbahm at pcdesk.net
Wed May 31 19:35:27 EDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello Jude,
Of course use of ls -l will always show you this information. If you
want to list all of the setuid binaries on your system that are owned by
root, (these are dangerous), then try this:

find / -perm +4000 --user root

And to find sgid root binaries:

find / -perm +2000 -group root

- --
It's not one damn thing after another, it's the same damn thing over and
over. (History repeats itself)
Joseph C. Lininger
Oh alright, here's the *actual* signature...

And so it came to pass that on Wed, 24 May 2006, Jude DaShiell said

> How would one go arout finding out which group an executable is in?
An
> example is pon is in the dip group, so what utility would display that
> kind of information for pon and other programs like ifconfig and
dhclient?
>
>
>
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>

And so it came to pass that on Thu, 25 May 2006, Luke Yelavich said

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Thu, May 25, 2006 at 01:13:35PM EST, Jude DaShiell wrote:
>> How would one go arout finding out which group an executable is in?
An
>> example is pon is in the dip group, so what utility would display
that
>> kind of information for pon and other programs like ifconfig and
dhclient?
>
> Using ls with the -l flag displays a file's user and group membership.
>
> hth
> - --
> Luke Yelavich
> GPG key: 0xD06320CE
> 	 (http://www.themuso.com/themuso-gpg-key.txt)
> Email & MSN: themuso at themuso.com
> ICQ: 18444344
> Jabber: themuso at jabber.org.au
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2.2 (GNU/Linux)
>
> iD8DBQFEdSmAjVefwtBjIM4RAj+oAJ9gSqQqz/QQyINKBaRIU9eZSEu3egCeL6Rz
> 8f0NNz8WkbGKnsPFL4Xxnzc=
> =Kio4
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>

And so it came to pass that on Thu, 25 May 2006, Sean M McMahon said

> if the program name is pon type which pon.  Then type ls -l followed
by
> the program name including the full path to that program.  The group
name
> will be listed.  hth
>
>
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>

And so it came to pass that on Fri, 26 May 2006, Jude DaShiell said

> On debian at least pon is in the dip group.  However which pon returns
> /usr/bin/pon and ls -l /usr/bin/pon makes no mention of the dip group.
> There are two mentions of root at the end of the ls -l output but that
is
> all.
>
>
>
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>

And so it came to pass that on Sun, 28 May 2006, Jude DaShiell said

> For debian users at least, as root why not try a small experiment.  do
> adduser user_name dip then do poff dsl-provider if you use a dsl-
provider
> file as root.  Then exit back to user_name account, then try pon
> dsl-provider and notice what happens.  Once done as root do deluser
> user_name dip and also do adduser user_name root then exit back to
> user_name account and try that pon dsl-provider command again and
notice
> the result.  On this computer, it worked with dip but not root so ls
maybe
> could do with some improvement.
>
>
>
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (MingW32)

iD8DBQFEfihCJ6dqn0mqPbARAp6TAKDgtCJJFWmc0nspuBH++aWrVXfzigCglicN
1ftqPLyxo90e/a1/YUUg80Q=
=o/K8
-----END PGP SIGNATURE-----




More information about the Speakup mailing list