Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 02-20-2014, 08:04 PM   #1
LQ Newbie
Registered: Feb 2014
Posts: 26

Rep: Reputation: Disabled
Need help setting up a unpriveleged FTP only user.

I'm setting up a ftp server using vsftpd. I've read tutorials, and browsed the developer pages, but theres a couple things I just can't find.

In the config file, there is an option "nopriv_user=ftpsecure", and it says it is recommended you define on the system a unique user who is totally isolated and unpriveledged. In addition I obviously want to do this because I know ftp passwords are sent in clear text.

However I'm just not totally sure how to do this, and worried if I just go guessing, I'll miss some detail and leave a gaping security hole. Can anyone help me out on what I need to do to accomplish this?

The primary purpose of this FTP server is because I have some security camera software, which has an option to ftp upload backup copies of recorded events. I am unlikely to ever access ftp this remotely. If I need to access the files remotely, I would do so via sftp instead. So basically all I need to do is just set up this server to accept files from a local machine, with only one unprivileged user (in case their plain text password is ever compromised), and secured from anything else other than putting files in a isolated directory.

Last edited by mxmaniac; 02-20-2014 at 08:08 PM.
Old 02-21-2014, 08:21 PM   #2
LQ Newbie
Registered: May 2013
Location: Moorhead, MN
Distribution: Fedora, Kubuntu
Posts: 8

Rep: Reputation: 1
Have you gone into /etc/group yet, and defined the user in there?

If not, try this:

From a command line, as root user, type:

nano -w /etc/group
Find the user ftp and next to that, type in your user's name. Hit "alt+x" and select "Y" and then hit ENTER.


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
[SOLVED] Need help setting up "ftp only" user account with vsftpd GeekyAdam Linux - Software 2 06-11-2011 01:54 PM
Need help setting up user that will have FTP access imsam Linux - Newbie 8 03-24-2006 05:16 PM
need help setting up ftp user accounts and directory structures aikym1 Linux - Newbie 4 07-19-2004 03:17 PM
Basic Linux Networking and setting up ssh/telnet/ftp user accounts... timmy_laf Linux - Newbie 2 01-05-2004 02:07 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:56 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration