Create Jail Ssh For One User

Jul 18, 2008

i have rhel5 server ( centos5.2)

i want creating new jail ssh for one user

for example take one user and password to my customer,and he can just using of /home/user1

and can`t see another folder and ...
just /home/user1

View 2 Replies


ADVERTISEMENT

How To Create Additional Ftp User Using SSH

Jun 20, 2009

How can I create additional ftp user using SSH and to give access only to a specified folder for example,

httpdocs/folder1/

View 7 Replies View Related

How To Create DB/User/Password?

Aug 9, 2008

My VPS has no control panel to do this.

how to create database, user & password for this database and how to restore a db.sql to this database.

View 4 Replies View Related

Create Upload ONLY FTP User

Dec 10, 2007

I have created a FTP with 1 user that can upload and download.

How can I create another user through the SHELL that has only upload permission. I need my clients to upload files, but cant download them or overwrite them.

View 6 Replies View Related

Create SNMP User On Windows

Jul 19, 2008

how to create a SNMPv3 user on Windows.

Anyone wanna tell me what config lines I need to add and where they need adding?

View 6 Replies View Related

How Do I Create A User With Limited Permission

Oct 5, 2007

I used to create a user by using /usr/sbin/sysinstall in freebsd, but how do i limit that user so he can't view important files (like: dhcpd.conf, rc.conf....) or can't do such as command pico, nano, vi ...etc?

All i want is that user can log in to my freebsd box and then he will ssh to other local servers, I just want my freebsd box is a bridge/gate for him to ssh to local servers which behind that freebsd box. Is it possible ?Thanks.

I know that i have to create a group with has only ssh permission but how do i do that?

View 2 Replies View Related

Limit The Amount Of Processes A User Can Create

Jul 4, 2009

How do you limit the amount of processes a user can create? I'm running suEXEc mode and I want to limit the processes to 5 to prevent abuse and resource drainage.

View 7 Replies View Related

Plesk 11.x / Linux :: How To Create FTP User Read-only

May 28, 2015

How can I create an FTP user read-only in plesk 11.5?

View 1 Replies View Related

How To Create A Subfolder In My Domain And Assign An Ftp User To That Folder

Jun 30, 2009

I need to create a subfolder under my domain name, and assign an ftp user to that folder. I want the user to only have access to that folder, is it possible? can you guys orient me, because I have no idea where to start, my hosting service provider is telling me I can only have one ftp account per domain, maybe I didn't explain correctly to my hosting provider.

View 1 Replies View Related

Plesk 11.x / Windows :: Unable To Create Web User During Installation

Oct 9, 2013

How can I remove all previous web users, even after an uninstall, I am having trouble finishing a new installation, during the wizard because users already exist.

View 15 Replies View Related

Plesk 12.x / Linux :: Unable To Create New Database User

Jun 22, 2015

Connection to the database server failed: Unknown column 'plugin' in 'mysql.user'

View 1 Replies View Related

Nmap From FreeBSD Jail

Jun 2, 2008

Does anybody has an experience with running nmap from FreeBSD Jail?

Nmap runs on main host OK, but when I try to run it from jail... NO CHANCE! Still has some problem...

View 2 Replies View Related

Plesk 12.x / Linux :: Fail2ban Setting Findtime Per Jail

Jul 14, 2014

In Fail2ban (great idea to include it in plesk!) settings you can set "Time interval for detection of subsequent attacks" (findtime) in general. But it would be interesting this setting per Jail.

You could have 2 jail with same filter but different findtime. Example:

Jail 1) 5 failures in 600 seconds: 1800 seconds ban
Jail 2) 30 failures in 86400 seconds: 604800 seconds ban

There are bots that detect if you have some protection fail2ban or similar and it will adapt, login attempt every 300 seconds for example. Jail 1 no detect this attack, but Jail 2 yes.

See the example, live time :
[root@--------- log]# cat /var/log/maillog | grep 'warning: ---------'
Jul 14 07:10:54 --------- postfix/smtpd[5482]: warning: ---------[--.--.--.---]: SASL LOGIN authentication failed: authentication failure
Jul 14 07:54:16 --------- postfix/smtpd[4782]: warning: ---------[--.--.--.---]: SASL LOGIN authentication failed: authentication failure

[Code] .....

View 2 Replies View Related

Fail2ban Won't Set Jail On Plesk-apache - Permissions Error

Jan 10, 2015

Compliments about the integration of Fail2Ban. I saw a lot of blocks on different IP addresses that tried to logon to the server. Fail2Ban is setup to monitor SSH, FTP, and some more.

It is however not possible to activate the "plesk-apache" and "plesk-apache-badbot" jails.

I receive the following error when I try to activate the jails:

Cannot activate the selected jails: f2bmng failed: ERROR NOK: ('plesk-apache',)
ERROR NOK: (13, 'Permission denied')
ERROR NOK: (13, 'Permission denied')
......
ERROR:f2bmng:Command '['/usr/bin/fail2ban-client', 'reload', 'plesk-apache']' returned non-zero exit status 255
ERROR:f2bmng:Failed to reload following jails due to errors in configuration: plesk-apache

When i look into the logfile of fail2ban, i see that there are no permissions for the log files:
2015-01-10 20:14:40,987 fail2ban.comm [19428]: WARNING Command ['set', 'plesk-apache', 'addlogpath', '/var/www/vhosts/system/[domainname]/logs/error_log'] has failed. Received IOError(13, 'Permission denied')

The file permissions are set as following on all the log files:
-rw-r--r-- root root

I'd really like to activate Fail2Ban for Apache too.

View 4 Replies View Related

Plesk 12.x / Linux :: Unable To Enable Recidive Jail In Fail2Ban

Oct 22, 2014

I am not able to enable the recidive jail in Fail2Ban. I get the following error:

Code:
Unable to switch on the selected jails: f2bmng failed: WARNING 'ignoreregex' not defined in 'Definition'. Using default one: ''
ERROR No file(s) found for glob /var/log/fail2ban.log
ERROR Failed during configuration: Have not found any log file for recidive jail
ERROR:f2bmng:Command '['/usr/bin/fail2ban-client', 'reload', 'recidive']' returned non-zero exit status 255
ERROR:f2bmng:Failed to reload following jails due to errors in configuration: recidive
.
There is indeed no /var/log/fail2ban.log, but I doubt that manually creating it will correctly fix this problem.

The problem is also discussed @ [URL] ...., but in my case I have not switched on jails before switching on fail2ban. Also, the given resolution does not work.

View 3 Replies View Related

Plesk 12.x / Linux :: Fail2Ban Custom Filter Is Not Available For Selection In Jail Management

Mar 18, 2015

We are successfully using fail2ban on our server (CentOS 6.6, Plesk 12.0.18), that is, jails running and blocking potential intruders

However, we tried to create a custom jail for the CMS that is being used by most of our clients.

I followed the instructions (Tools & Settings > IP Address Banning (Fail2Ban) > Jails > Manage Filters > Add Filter) and created the filter I wanted, but then it does not appear in the list, even though it displays a message reading that the filter was created successfully. Then, if I try to create a new Jail, the filter is not available from the list.

Looking at the directory /etc/fail2ban/filter.d/ I can find a file that has the same name as the filter I created, with a .local extension (the file name does not contain whitespaces or other special characters)...

View 3 Replies View Related

Plesk 12.x / Linux :: Fail2ban Module Fails To Activate Proftpd And Ssh-jail

Mar 4, 2015

I have a brand new Plesk 12 Installation with just a first Subscription/Domain for my test. Enabling fail2ban jails brings me the following error for the jails plesk-proftpd and ssh. All others went on.

error 'f2bmng failed: ERROR No file(s) found for glob /var/log/secure'.

I see that /var/log/secure is missing, althoug I already used ssh and ftp to log in once. I can go to touch the /var/log/secure file or adjust the jail configs to proper log file location? Which is the way to go? 

View 2 Replies View Related

Create A Zend Id For Your Machine. This Is Apparently For Them To Create A Product Key For Their Software

Aug 7, 2008

Customer has requested the following:

"Create a zend id for your machine." This is apparently for them to create a product key for their software and have to bind to it?!

I have never heard of this and have been unable to locate any information on it.

This is a Centos box with php 5.2.5 installed:
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend Technologies

how to go about this or even what this is?

View 2 Replies View Related

Redirect Domain/user To User.domain ONLY IF Folder 'user' Doesn't Exist

May 7, 2007

I thought I knew enough about my .htaccess stuff to do this, but I can't seem to work it out. What I want to do is if a user visits domain.com/folder, we check to see if the folder exists. If so, show as normal (IE domain.com/support)

If a user visits domain.com/dynamicusername (dynamicusername is not a physical folder), redirect to dynamicusername.domain.com

View 3 Replies View Related

Change Jail Shell To Normal Shell

Jul 8, 2008

Do any1 know how to change jail shell to normal shell?

View 14 Replies View Related

Plesk Automation :: Login As User From Admin / Actual Login As User Are Different

Jan 3, 2014

when I find the subscription from the admin side of PPA, if I select "Login as user" I've noticed that it is different from actually logging in as the user - for example - "add domain alias" is missing when I login as a customer - but not as an admin... I need my customers to add their own aliases and manage them - how do I add that feature to the client login side?

View 9 Replies View Related

Create VE Using Ssh

Sep 14, 2007

create virtual environments using ssh

(virtuozzo).

(my host does not give VZCC license)

View 3 Replies View Related

Create A Partition In A Vps

May 15, 2009

How can i create a /tmp partition (as cpanel recomends) in my openvz vps to install cpanel?

Quote:

/tmp 1 GB (1024 MB)
/ Grow to fill disk.

View 1 Replies View Related

Create .tar.gz Archive

Jul 5, 2009

Im in /home/test

i need to create an archive from all test contain.

How can do it?

View 8 Replies View Related

How To Create A VPS COMPANY

May 8, 2009

create VPS PACKAGES under my cent0s dedicated server?

View 14 Replies View Related

Create A New Account In Ssh

Jun 18, 2008

How can I create a new account in SSH? how can I do this for one of our resellers?

we use cPanel.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved