Shell: Revision history

Jump to: navigation, search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

14 November 2024

  • curprev 22:5322:53, 14 November 2024Ardika Sulistija talk contribs 924 bytes +924 Created page with "====Disable ability to log into the system using a Shell==== Setting a user's shell to <b>/bin/false</b> effectively disables their ability to log into the system using a shell. It restricts certain user accounts (like system or service accounts) from gaining shell access, reducing the attack surface. You can set a user's shell to <b>/bin/false</b> by modifying the <b>/etc/passwd</b> file directly or using a command like <b>chsh</b>. For example: <b>sudo chsh -s /bin/f..."