Y
Y
YarroU282021-03-02 16:05:13
ubuntu
YarroU28, 2021-03-02 16:05:13

How to find out what requests superuser rights?

Every time you reboot, a window began to appear asking you to grant superuser rights. At the same time, I can not understand what program or script does this. I did not find anything suspicious in autoload -skype,dropbox,telegram. How to find out what requests the rights of a super user?603e37c4b9d28287526919.jpeg

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
Maxim Grishin, 2021-03-02
@vesper-bot

tail /var/log/audit/audit.log - in that file all requests for raising rights are collected (and a bunch of other things, I advise you to monitor), get the PID of this shell, then ps -ef find who launched it in the chain. This is true from under the root, and you need to perform the check with a hanging window for requesting root privileges.

S
SOTVM, 2021-03-02
@sotvm

in the same place it is written in Russian in white
as an option , run it
through .... forgot))) and it didn’t work out a couple of times,
something like wmstat
can they remind me?
remembered
strace

S
shurshur, 2021-03-02
@shurshur

With a command like ps uaxf|less we are looking for an initiator.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question