Skip to main content
4 events
when toggle format what by license comment
Mar 9, 2014 at 15:47 comment added orion Yes. If setuid bit is set, it executes with ITS owner's permissions (usually root's), no matter who calls it. A good example is mount command. It does check who you are, but it CAN mount stuff if fstab says you can.
Mar 9, 2014 at 15:46 vote accept anders
Mar 9, 2014 at 15:43 comment added anders OK thanks for the reply. So in other words the prg1 will always run as root while prg2 will not?
Mar 9, 2014 at 15:35 history answered orion CC BY-SA 3.0