Skip to content

After sudo su, user executing the command must be root #6

@komatom

Description

@komatom

Issue here is that if you sudo su, and run some commands after that, they are logged as the initial user before the sudo su command.

for example:

user1 executing sudo su
user1 executing: ls /root

I think it must be

user1 executing sudo su
root executing: ls /root

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions