Ravindra BagaleCourses & study guides मराठी Track your progress

Ravi Sir's Cards › AWS

AWS Cloud

SUID vs SGID

This comparison card contrasts SUID and SGID. SUID is described as run as the file owner. SGID is described as new files take the folder group. The card pairs SUID with passwd command, and SGID with shared project folder.

SUID vs SGID: Run as the file owner.; New files take the folder group.
SUID vs SGID · Download PNG
Read card text

What this card says

Main use

SUID

Run as the file owner.

SGID

New files take the folder group.

Key points

Risky, audit often.

Great for team folders.

Example

ls -l /usr/bin/passwd

Use when

passwd command.

Shared project folder.

See all AWS revision cards