Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Re: Restrict commands for all users |
|---|---|
| Date: | Wed, 11 Aug 2004 17:24:50 -0700 |
Have you tried to just change their login shell to "/usr/bin/unison" ? On Wed, 11 Aug 2004 11:33:24 +1000, Chris Jensen <cjensen@gmail.com> wrote:
Hi, I'd like to restrict the commands that almost all users are permitted when logging in via openssh (to use unison for backup). I realise I can do this by using the authorized_keys file, but in our case we need them to login with their password so that the password can be used by smbmount to mount the share they will be backing up to.
--
END OF LINE
-MCP
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Idle timeout, Bob Rasmussen |
|---|---|
| Next by Date: | Re: ACL problems, any suggestions would be great, Robert Hajime Lanning |
| Previous by Thread: | Restrict commands for all users, Chris Jensen |
| Next by Thread: | Re: Restrict commands for all users, Chris Jensen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |