Results 1 to 2 of 2
Hey Guys. Today i got my second server online and I'm in a need of some help :>
I'm running a debian 5.0 64bit.
Was wondering How to add a ...
- 05-14-2010 #1Just Joined!
- Join Date
- Apr 2010
- Posts
- 5
FTP Access, New User, Folder Access
Hey Guys. Today i got my second server online and I'm in a need of some help :>
I'm running a debian 5.0 64bit.
Was wondering How to add a new user to the server, with it's own password and so that user can only view a folder set for him via FTP.
Something like this
User: Andrew
passw: xxxxxx
Folder Access: Server5
I don't want to give out my root password, thats why i need this.
Thanks.
- 05-17-2010 #2
you would add a user like you would any other shell user of your system. I will assume you all ready created a folder for this user:
The home directory (-d) is the absolute path to the folder you want that user mapped to.Code:useradd -d /home/path -s /sbin/nologin andrew passwd andrew
the shell setting (-s) may or may not be right. it depends your software, or if you are using PAM authentication or UNIX authentication. more info is required to say for sure.linux user # 503963


Reply With Quote
