Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 11-19-2003, 09:53 PM   #1
zoa artcc chief
LQ Newbie
Registered: Nov 2003
Location: Toronto
Posts: 1

Rep: Reputation: 0
ftp acct/permissions

i'm running linux on my VPS server. using WEBppliance Pro3.5.20
I am trying to set up ftp accts for my website administrators, using the control panel i can set up the user accounts but it will not allow me to give them certain permissions like ex. user 1 only allowed access to /var/www/html/staff and nothing below that
there has to be a way to do this through ssl I have FULL root access to my box i tried this command
[root@deep ] /# useradd -d /home/var/www/html/staff/ -s /dev/null ftpadmin > /dev/null 2>&1
[root@deep ] /# passwd ftpadmin

root@deep ] /# vi /etc/shells


root@deep ] /# vi /etc/passwd


this totaly messed up my control panel I did a restore of my server and its back to normal. however I'm still not sure how to add a user to my ftp server with permissions "only to access a certain directory"

pls help
Old 11-20-2003, 11:08 AM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
chroot is what your looking for and you can also not give them shell access by adding something like:


to your /etc/shells file. That's if you only want them to be jailed to a particular directory and not have any other access to the system with no shell access, etc.


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
FTP Permissions varunbihani Linux - General 2 03-24-2005 09:34 AM
ftp permissions on Konqueror geomatt Linux - Networking 3 04-07-2004 03:48 PM
ftp permissions race Linux - Networking 0 01-15-2004 01:33 PM
Permissions on FTP ntloser Linux - Security 1 12-28-2003 12:10 PM
FTP Permissions Wynd Linux - General 4 11-04-2003 08:53 PM > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 06:14 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration