The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > Linux > SuSE
.
google unix.com



SuSE SUSE Linux is a major operating system. The developer rights are owned by Novell, Inc.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
SuSE: Linux Kernel (SUSE-SA:2009:038) iBot Security Advisories (RSS) 0 07-23-2009 03:45 PM
SuSE: Linux kernel (SUSE-SA:2009:032) iBot Security Advisories (RSS) 0 06-09-2009 11:45 AM
SuSE: Linux kernel (SUSE-SA:2009:030) iBot Security Advisories (RSS) 0 06-08-2009 01:45 PM
SuSE: Linux kernel (SUSE-SA:2009:017) iBot Security Advisories (RSS) 0 04-03-2009 10:15 AM
SuSE: Xorg and XFree (SUSE-SA:2008:003) iBot Security Advisories (RSS) 0 01-17-2008 02:10 PM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 4 Weeks Ago
rezent rezent is offline
Registered User
  
 

Join Date: Oct 2009
Posts: 2
SFTP with Suse 9.3 need help with Update ssh

Hi eryone, I'm new here. Since I'm a graphic designer and not an admin, I need to learn a lot from the first step, so please be patient with me. ;-) Most of my skills are self taught with howtos, so there might be some lack of wisdom in basics. I've setup a Suse-System (9.3) with a few upload functions for customers of our small company.

Ok my Problem is... one of our cusotmers asked me to give him an SFTP upload for some test data. I already setup a user and login and upload works fine with SFTP.

But now the user has access to my whole filesystem (don't want that) and i found that chroot for the user might solve my problem.

My ssh Version is 3.9 and doesn't support chroot, so I've been looking for a howto or something that helps me to update my Openssh to a newer Version which supports chroot. I spend 3 hours reading without a solution and stranded here. :-)

Any ideas where i might find a howto for this update or any other suggestion how i can lock a user in one folder?
  #2 (permalink)  
Old 4 Weeks Ago
mark54g mark54g is offline
Registered User
  
 

Join Date: May 2008
Posts: 363
SUSE 9.3 is fairly old now. Have you checked repositories for the packages? Have you considered updating the system? There are probably other packages that have bugs or flaws that could become an issue. You could always download the source and package an rpm yourself, however.
  #3 (permalink)  
Old 4 Weeks Ago
rezent rezent is offline
Registered User
  
 

Join Date: Oct 2009
Posts: 2
Thanks for your reply. Since the Problem was hasty I decided to setup a second server with OpenSuse. This worked fine and my chrooted sftp Login works already.

I know that updating the system is necessary, but there are quite a few users and different services on the system. I fear that updating might chaos my upload server and this could be fatal for my company.

However I decided to use the OpenSuse System as backup for my 9.3 and when the new system is installed with everything needed I will try to upgrade the 9.3 to lock the security issues. Since I do this work along my regular stuff it sometimes gets out of sight.

Do you think updating might be a solution or is a complete new installation the best option?
  #4 (permalink)  
Old 4 Weeks Ago
mark54g mark54g is offline
Registered User
  
 

Join Date: May 2008
Posts: 363
I would recommend a side by side migration. Alternately, you could try to put a virtualized environment into place on the 9.3 server. If you used a second virtual disk container on the host as the place where the files are saved, you could mount that virtual disk as a loopback device and then see the files. It would work similarly to a chrooted environment.

Essentially, it would be like this:

Host (9.3) with 2 virtual disks A and B
A holds the OS of OpenSUSE 11.x
B holds the file system where the SFTP is located

Host mounts disk B to /usr/local/dropbox (example only) [read only]


Your remote user connnects to the virtual server, your local users can connect to the 9.3 server. eventually, you can just migrate the virtual server using any host you wish, even an opensuse 11.x box itself with minimal downtime
the only difference is, the server itself is virtualized.

Last edited by mark54g; 4 Weeks Ago at 04:23 PM..
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 03:18 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0