Created
April 15, 2013 13:59
-
-
Save samurailink3/5388253 to your computer and use it in GitHub Desktop.
/etc/passwd example file to disallow interactive logon (Good for FTP servers)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bob:x:0:0:root:/home/bob:/bin/bash | |
# The above user can log in interactively, and their home folder is in the usual location | |
alice:x:1000:1000:,,,:/var/www/www.example.com:/bin/false | |
# The above user can't log in interactively, and their home folder is set to their public website folder. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment