Exec a cmd as root from another user without switch user

maelamrani

Member
Joined
Jan 3, 2020
Messages
77
Reaction score
7
Credits
450
Hello,
how to Exec a cmd as root from another user without switch user.
exp : su - root -c cat listing.txt
but it doesnt work it not show anything it stay bliking

Kind regards,
 
Last edited:



Members online


Top