Skip to content

getsfiles

Ulrich Berntien edited this page May 19, 2019 · 1 revision

getsfiles

Name

getsfiles - Lists files with setuid and setcap

Synopsis

getsfiles [background]

Description

List files with setuid flag and files with special capabilities.

The function can list files in directories with read access to the user. So getsfiles without root right could list not files possible callable by the current user.

getsfiles writes the report to stdout.

getsfiles with argument background writes the report to file $HOME/sfiles in a background process.

Examplea

Run the function.

$ getsfiles

Run the function in the background.

$ getsfiles background
Clone this wiki locally