What is the command to log a user in Linux?

Duyên Trương

New member
What is the command to log a user in Linux?
Answer
Here’s how to use it in a few easy steps:
  1. Install sudosh on your system; this is a shell wrapper around the sudo command that makes a user sudo themselves (not root ) and can be used as a system login shell.
  2. Enable sudo logging. …
  3. Add this command to /etc/shells to permit logins using it: /usr/bin/sudosh.
 

Tìm kiếm

Back
Top