They can use tar just fine. The problem is that joomla backs up to a zip file. Is there a file I can edit to allow this command? Also, it seems that the FTP user can see things in their particular root that they cannot see in SSH. All directories list(ls) under the user root of FTP. Nothing lists in the user root of SSH. How do I get SSH to show directories in the user root?
Yes, I know it is crazy but it does, in fact, exist. /usr/bin/unzip I went around the problem by opening the archive on my desktop and sending it to the server. Everything is local so it went very quickly. sudo su asks me for the password to web1's account. What would that be? Client 1's FTP, shell… I can't figure it out.
Of course, falko. That is what it should be. It seems, however, that when a user logs in to their SSH account created by ISPconfig3, there's a different password. Maybe I missed it. Code: login as: rex_SSH [email protected]'s password: Welcome to Ubuntu 11.10 (GNU/Linux 3.0.0-12-generic-pae i686) * Documentation: https://help.ubuntu.com/ System information as of Thu Apr 12 19:54:13 EDT 2012 System load: 0.05 Processes: 97 Usage of /: 3.1% of 54.29GB Users logged in: 0 Memory usage: 54% IP address for eth0: 192.168.1.107 Swap usage: 14% Graph this data and manage this system at https://landscape.canonical.com/ Last login: Tue Apr 10 12:10:50 2012 from 192.168.1.124 web1@rule303:~$ sudo su [sudo] password for web1: Sorry, try again. [sudo] password for web1:
Here are the lines in question… Code: web1:x:5004:5005::/var/www/clients/client1/web1:/bin/false rex_SSH:x:5004:5005::/var/www/clients/client1/web1:/bin/bash The only one real difference looks like the ends with false vs. bash. What I'm trying to figure out is the permissions of a shell user without sudo. It's a good sign that they can't do that but… They have to be able to do some tasks or there is no point to it. Right now, it looks more restrictive than surveillance state monkeys like go daddy.
Both users have the same ID. I suggest you recreate the rex_SSH user with an unused ID (best below 5000).
Take a look at this… Code: [email protected]:~$ ls [email protected]:~$ cd web bash: cd: web: No such file or directory [email protected]:~$ cd /web [email protected]:/web$ ls LICENSE.txt configuration.php index.php media tmp README.txt custom_code installation modules web.config.txt administrator error joomla.tar.bz2 plugins cache eurofxref-daily.xml language robots.txt cli images libraries stats components includes logs templates [email protected]:/web$ sudo chown -R www-data:www-data bash: sudo: command not found [email protected]:/web$ Can not executed basic staff to get joomla started. What is the point of shell for clients?
Of course, works as root. Code: root@rule303:~# cd /var/www/clients/client2/web4 root@rule303:/var/www/clients/client2/web4# cd web root@rule303:/var/www/clients/client2/web4/web# ls administrator eurofxref-daily.xml libraries robots.txt cache images LICENSE.txt stats cli includes logs templates components index.php media tmp configuration.php installation modules web.config.txt custom_code joomla.tar.bz2 plugins error language README.txt root@rule303:/var/www/clients/client2/web4/web# chown -R www-data:www-data /var/www/clients/client2/web4/web root@rule303:/var/www/clients/client2/web4/web# find . -type f -exec chmod 644 {} \; root@rule303:/var/www/clients/client2/web4/web# find . -type d -exec chmod 755 {} \; root@rule303:/var/www/clients/client2/web4/web# Is there a way to fine tune the permissions without a blanket on/off for the jail kit?
any update on this? SSH user can't actually do anything. There is not enough information in the manual to explain the details. The manual needs to be improved so that users who are learning can have the opportunity to fully understand SSH users, their permissions, the jailkit options (which I'm still unsure about) and figure out why SSH users can't do anything. Can someone please help?
It is better not to hijack a thread though you may think the problem is similar to yours. Either ways, if you believe so, you can try follow @falko suggestion in reply #6 and #8. Otherwise, provide more details on your problems or errors, preferably in your own thread.
SSH users work OK for me with Jail. Jailkit documentation explains how the needed commands and libraries can be included in the jail. Like @ahrasis wrote, provide more details on what is not working and how the SSH user is set up.