var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
Jail shell question at ubuntu
I created a new user account for ftp use and gave access to /var/www directory. It also got ssh permissions like root (/bin/sh).
So the point is I want to use that user as a puppet for root. So I won't allow root logins to ssh.
So basicly that user should only access to an empty folder on server (maybe /var/www/default). When i login i will use "su root" to get root permissions and act like root.
So how can i do this?
I dont have any panel on my server.
Found this, hope it helps,
Open /etc/ssh/sshd_config file
Use vi command:
# vi /etc/ssh/sshd_config
Deny root user access
Append or modify as follows to block root user:
If you want to block additional user just append names to DenyUsers
DenyUsers root, user2, user3
Save and close the file. Restart sshd service:
By sharmaine1111 in forum Hosting Security and Technology
Last Post: 04-30-2010, 05:40 AM
By WebHostDog in forum Hosting Security and Technology
Last Post: 12-10-2009, 04:28 PM
By super2host in forum Hosting Security and Technology
Last Post: 07-08-2008, 08:05 PM
By SinnerZone in forum Hosting Software and Control Panels
Last Post: 06-10-2003, 09:59 PM
By sprintserve in forum Hosting Security and Technology
Last Post: 04-21-2003, 12:10 AM