What commands does git use when communicating via ssh?
If you didn’t want to use the user account for anything else you could just run chsh for the user and select /usr/bin/git-shell … Read more
If you didn’t want to use the user account for anything else you could just run chsh for the user and select /usr/bin/git-shell … Read more
Sorry, I don’t actually have a way to do what you’re asking, but I think this answer will be helpful nonetheless. What do … Read more
You don’t need to create ‘sybase’ as a privileged user. See http://tldp.yolinux.com/HOWTO/Sybase-ASE-HOWTO.html for examples. Useful info: “create the sybase user group and then … Read more
In Unix, to do even the most basic stuff, a user needs access to sundry resources (executables, libraries, configuration files, manual pages, examples, … Read more
Is it just here that you do, or are you using ones instead of Ls? The time restrictions should read “capital A, small … Read more
@Tshepang has the right idea. I don’t know which is most portable, but here are other ways to detect whether the user is … Read more
Restricted Shell You need to assign a restricted shell such scponly or rssh. When you use scp or sftp you are connecting to … Read more
Try this as the login shell for the user: #!/bin/sh basedir=/local/remote_only_scripts while read -p ‘$ ‘ prog args; do if [ ! -x … Read more
You could set the shell of that user to a script just running the command you want to allow: Whenever the user logs … Read more
Can I restrict a user to use special programs?