LinuxQuestions.org
Visit Jeremy's Blog.
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, 07: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 08:23 AM.
 
Old 07-05-2008, 09:46 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,577
Blog Entries: 14

Rep: Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969
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


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 03:50 AM
user permissions snutter Linux - Newbie 3 04-10-2007 03:19 AM
User Permissions BigDDave2001 Linux - Security 4 11-17-2003 06:43 AM
user permissions Vyeperman *BSD 6 10-06-2003 03:10 AM
user permissions djroketboy Linux - Networking 7 10-02-2003 03:40 PM


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