Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-28-2003, 12:27 AM   #1
Registered: Jun 2003
Distribution: Redhat
Posts: 87

Rep: Reputation: 15
ProFTPD user question...

I have questions:
1. If I create a user account name: user1 & passs=123456, Now, in the proftpd.conf file I put like this:
UserAlias user1 user1ftp #set alias user for user1

If I ftp into this server and use user1ftp & pass=123456, will it point to user1's home directory?

2. I want to setup /home/ftpstuff/ for 2 user(ie. admin & reguser). I want useradmin have full read/write to the directory /home/ftpstuff/download & /home/ftpstuff/upload and I also want user reguser have READ ONLY to /home/ftpstuff/download and have full rea/write to /home/ftpstuff/upload

My question are:
a. How can I create 2 accounts to access to same directory(in this example is /home/ftpstuff/)?
b. How to setup to do like what I said above?

Thank you
Old 09-28-2003, 12:04 PM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 270Reputation: 270Reputation: 270
2 users can share the same home directory with no problems.

Have the admin the actual owner of the directory, with full access, then have the second user assigned to the group that has access, with whatever permissions you want assigned to the directory for the group. It basically all comes down to assigning ownership, group ownership and permissions of the directories.

man chown
man chgrp
man passwd
man chmod


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Proftpd User Permissions discrepant Linux - Newbie 1 03-17-2005 04:33 PM
proftpd user privaleges alimharji Linux - Networking 0 02-08-2004 10:43 PM
Adding a new user to ProFTPD? WNxSquee Linux - Software 4 01-08-2004 07:01 AM
proftpd private user Cigar Linux - Networking 1 07-23-2003 04:18 AM
Pleasehelp with proftpd.conf - trying to config user to write files as other user. philg Linux - Software 1 06-21-2003 12:13 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:38 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration