LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 07-05-2008, 06:57 AM   #1
LCV
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
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
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.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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