also @ TechSpot: Samsung considers LCD unit spinoff to focus on OLED
Welcome to the TechSpot OpenBoards. Please read the FAQ if you have any questions. Sign up or Login to participate.

Go Back   TechSpot OpenBoards > Software > The Alternative OS

Begin your free trial now Pay-as-you-go options starting at $10/user/month

Creating virtual users for sftp/ubuntu

Thread Tools Search this Thread
  #1  
Old 07-06-2009
N3051M's Avatar
TechSpot Evangelist
 
Location: Sydney, Australia
Member since: Jan 2006, 2,800 posts
System specs
Creating virtual users for sftp/ubuntu

hey guys, its been a while..

Just need a bit of help in a few things setting up my new box for a dedicated sftp/web server. I've already installed apache2 and got that running, and also installed openssh on a ubuntu 9.04 system. Now, a few questions if anyone can help..

1) how do I create virtual users on an ubuntu system and integrate them to log into sftp?
2) how do I change the default path after those users have logged in to a particular path, say instead of "/home/$user" to "/var/www/" instead

I want to have a few users (or group if possible) to be able to access the var/www/ folder only since all they will be doing is just uploading/modifying/downloading files in that directory. The server will be mainly hosting files for download (with anonymous access given to download via a html link) and the uploading/etc to be done over sftp since its more secure than regular ftp connections.

I have looked around the net for a while now, and they don't give me a clear answer to this (probably since this is my first time setting up openssh, and i've only started to work in ubuntu regularly only quite recently) and other sites telling me to install vsftpd, proftpd etc.. which I prefer not to.

Thanks in advance.

Edit: I'm looking at two options - LDAP and PAM for the users.. any suggestions?

Edit2: Never mind, got a friend to show me how to do this on the *nix.

Last edited by N3051M; 07-09-2009 at 06:36 AM..
Closed Thread

Similar Topics
Topic Replies Forum
Server 2003 - Creating desktop shortcuts for domain users 8 Windows OS
Ubuntu on virtual box - problems 6 The Alternative OS
Creating duel boot WinXP / Linux (Ubuntu) from scratch? 3 Windows OS
Microsoft Creating Virtual Brain 4 General Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
All times are GMT -4. The time now is 06:22 PM.