Skip to content

Hub

Scripts? One-liners? We have them!

  • Web
  • DNS
  • File System
  • SQL
  • Mail
  • Misc
  • |
  • Save to Hub

Run a command as another user

Posted on March 4, 2018June 21, 2019 by admin
su otheruser bash -c "id"[/shell][shell]sudo -u the_user bash -s "id"
Posted in MiscTagged Linux
Post navigation
Extract an .msi file
Find files the user cannot read
  • Categories

  • Tags

Theme: Vogue by Kaira
  • Kindly do the needful