HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   Setting ssh users to inactive does not work (http://www.howtoforge.com/forums/showthread.php?t=47405)

jumba 18th July 2010 18:37

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.

till 18th July 2010 18:41

Are the users jailed or not?

jumba 18th July 2010 20:26

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?

jumba 18th July 2010 20:48

Quote:

Originally Posted by jumba (Post 234089)
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.

jumba 25th July 2010 17:48

Any suggestions?
Thanks

jumba 11th October 2010 14:51

This is a bug. Hopefully it will be fixed in the next version.

till 11th October 2010 14:55

If you think that there is a bug, then report it to the bugtracker.


All times are GMT +2. The time now is 12:56.

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