Review your favorite Linux distribution.
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 07-05-2008, 06:57 AM   #1
LQ Newbie
Registered: Jul 2008
Posts: 1

Rep: Reputation: 0
User permissions

I've just setup a fresh LAMP install along with vsftpd and openSSH on Xubuntu. Apache is setup to serve pages from home/*/public_html and vsftpd is chrooted to the users home dir.

So far so good.

However,the ftp sends the user log in in plain text, which seems to be identical to the telnet log-in and password that enables root privileges.

I guess can create a user with fewer privileges but that I (as admin) have to use two accounts. So how do I set it up that local users can log in with a different password that doesn't give privileges?

Or am I taking the wrong approach here?

Last edited by LCV; 07-05-2008 at 07:23 AM.
Old 07-05-2008, 08:46 AM   #2
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,945
Blog Entries: 14

Rep: Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163
ftp by its nature is insecure.

If you want secure login you should use sftp or scp - these use the same encryption and port as ssh.

Though it is possible to create two user names with the same UID number this would not be beneficial. The system would interpret the secondary ftp user as being the same as the original non-ftp user because it is the UID number that is important.

If you really must use ftp you might consider using pgp encryption of the files that you transfer.


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
Giving user 'www-data' same permissions as normal user MikeOfAustin Linux - Software 5 06-08-2007 02:50 AM
user permissions snutter Linux - Newbie 3 04-10-2007 02:19 AM
User Permissions BigDDave2001 Linux - Security 4 11-17-2003 05:43 AM
user permissions Vyeperman *BSD 6 10-06-2003 02:10 AM
user permissions djroketboy Linux - Networking 7 10-02-2003 02:40 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:55 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