View Full Version : Directadmin User-Level SSH Access
Orbixx
09-03-2008, 03:47 AM
Can anyone tell me exactly what the different is between standard SSH user accounts, and DA created SSH user accounts?
I have a few clients asking for SSH access, and I wouldn't be comfortable letting them have it unless there was some sort of half decent DA jailing or similar.
chatwizrd
09-03-2008, 06:07 AM
You can setup jailing with custombuild. If you dont then ssh is same as standard ssh.
Orbixx
09-03-2008, 06:28 AM
Could you link me to some material that would enlighten me as to how to do that?
chatwizrd
09-03-2008, 06:33 AM
Login to ssh as root level user:
Type (Replace <username> with the actual user of the login you want to jail):
cd /usr/local/directadmin/custombuild
./build update
perl -pi -e 's/jail=no/jail=yes/' options.conf
./build all_jail
./jail/jail_user.sh <username>
zbv2net
02-13-2009, 05:06 AM
i have done this but than the user can not do nothing via ssh
bash: ps: command not found
bash-3.2$ wget http://yp.shoutcast.com/downloads/sc1-9-8/sc_serv_1.9.8_Linux.tar.gz
bash: wget: command not found
bash-3.2$ w
bash: w: command not found
bash-3.2$
how can i fix this to jail the user but to be able to run commands and use system normally
You cant you have to copy all the bins to the users bin folder.
Powered by vBulletin™ Version 4.0.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.