Questions tagged [strace]
The strace tag has no usage guidance.
3
questions
1
vote
1
answer
7k
views
Strange strace and setuid behaviour: permission denied under strace, but not running normally
This is related to this question.
I have a script (fix-permissions.sh) that fixes some file permissions:
#! /bin/bash
sudo chown -R person:group /path/
sudo chmod -R g+rw /path/
And a small c ...
6
votes
1
answer
4k
views
Why strace sudo command bombs when sudo command works?
my username is allowed to execute
sudo command
then why does this bomb
strace sudo command
with the error:
sudo: must be setuid root
4
votes
2
answers
3k
views
How do I strace the whole system?
strace allows you to monitor the activity of a particular program. How can I monitor the activity of all programs (expect for sshd/bash/strace_itself)?
Currently I'm using a hack like this:
function ...