Secure Shell
Back to list
Name:
Email:
*Note: Email address will appear as "user domain ext" to prevent harvesting.
Subject:
Message:
RE: ForceCommand executes shell
Apr 20 2011 03:25PM
Males, Jess (jmales cio sc gov)
If you only ever want the user account to perform the one function, override their system shell.
example:
oper:x:519:519::/home/oper:/usr/local/bin/oper-only-ever-gets-to-do-this
.sh
Regardless of how the account logs in, telnet, ssh, &c they'll only execute that one thing.
_____________________...
[ more ]
Privacy Statement
Copyright 2010, SecurityFocus
example:
oper:x:519:519::/home/oper:/usr/local/bin/oper-only-ever-gets-to-do-this
.sh
Regardless of how the account logs in, telnet, ssh, &c they'll only execute that one thing.
_____________________...
[ more ]