Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 18th July 2010, 19:37
jumba jumba is offline
Member
 
Join Date: May 2010
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Default Setting ssh users to inactive does not work

I use Ubuntu 10.4 and ISPConfig 3.0.2.2.
Setting the ssh users to inactive does not work. I can still connect with those users after the active/inactive job has disappeared from the Jobqueue.
Reply With Quote
Sponsored Links
  #2  
Old 18th July 2010, 19:41
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts
Default

Are the users jailed or not?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 18th July 2010, 21:26
jumba jumba is offline
Member
 
Join Date: May 2010
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have 4 users. 2 of them are jailed, 2 are not.

The inactive users who are jailed can connect but are jailed in /home/username.
They can not enter in the /web directory

The inactive users who are not jailed can connect and enter in any directory.

But is a user is inactive (nonexistent), shouldn't that prevent the connection from being established in the first place?
Reply With Quote
  #4  
Old 18th July 2010, 21:48
jumba jumba is offline
Member
 
Join Date: May 2010
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by jumba View Post
The inactive users who are jailed can connect but are jailed in /home/username.
They can not enter in the /web directory
It seems that's true only if I connect with sftp (with Filezilla).
If I connect with ssh, start mc and try to exit /home/username I get an error but then I am able to exit /home/username and enter any folder within the original jail, including /web

Another issue:

After setting a jailed user to inactive and then back to active, and connecting with sftp (with Filezilla), that active user can't exit /home/username anymore.
So an active (jailed) user connected with sftp has no access to /web or other directories anymore.
The trick is to connect with ssh and start mc, like I said.

Last edited by jumba; 18th July 2010 at 22:04.
Reply With Quote
  #5  
Old 25th July 2010, 18:48
jumba jumba is offline
Member
 
Join Date: May 2010
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Any suggestions?
Thanks
Reply With Quote
  #6  
Old 11th October 2010, 15:51
jumba jumba is offline
Member
 
Join Date: May 2010
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Default

This is a bug. Hopefully it will be fixed in the next version.
Reply With Quote
  #7  
Old 11th October 2010, 15:55
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts
 
Default

If you think that there is a bug, then report it to the bugtracker.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail -Ubuntu 8.04 c4rdinal HOWTO-Related Questions 112 23rd August 2011 11:49
Setting Default File Permission For FTP & SSH asyadiqin Installation/Configuration 6 8th February 2008 18:08
SSH Users CHROOT howser Installation/Configuration 20 2nd August 2006 09:22
SSH, users from web1 can read files from web2, web3, web4 ecorona Installation/Configuration 3 1st February 2006 21:48
ssh chroot works, but no scp for chroot users zokahn HOWTO-Related Questions 5 30th January 2006 10:33


All times are GMT +2. The time now is 05:46.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.