LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 03-01-2011, 05:10 AM   #1
moata_u
Member
 
Registered: Jan 2011
Posts: 32

Rep: Reputation: 0
Thumbs up Create FTP User


i was trying creating create an account for only ftp ...
user will redirect for only ftp directory and not able to use , see or edit any other directory .....the user only should be able upload , download to his directory....

*** am using Solrais 10 ....any idea will be helpful
 
Old 03-01-2011, 05:20 AM   #2
Ephracis
Senior Member
 
Registered: Sep 2004
Location: Sweden
Distribution: Ubuntu, Debian
Posts: 1,109

Rep: Reputation: 49
You could create a user with write access only to his home but you will still need read access to system folders for access to cd, ls, etc. You could create a bin folder inside user's home, copy the necessary tools and set PATH but I don't see the point.
 
Old 03-01-2011, 05:28 AM   #3
moata_u
Member
 
Registered: Jan 2011
Posts: 32

Original Poster
Rep: Reputation: 0
The only things that user will need is to upload file or download file from his directory ...nothing more ...
So can I make file system hidden for him and all other directories...
 
Old 03-01-2011, 05:34 AM   #4
Ephracis
Senior Member
 
Registered: Sep 2004
Location: Sweden
Distribution: Ubuntu, Debian
Posts: 1,109

Rep: Reputation: 49
You would be surprised. You could try to chroot the user to his home but remember that it may present problems. I don't see the point, though. It will not increase the security and it will most certainly give you headache. But do a chroot, it could work out fine.
 
Old 03-01-2011, 07:31 AM   #5
perakasunil
LQ Newbie
 
Registered: Feb 2011
Posts: 6

Rep: Reputation: 0
chown

Change the ownership with "chown" and check the same...
 
  


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
how to create ftp user id in Centos solutionsdxb Linux - Newbie 7 08-04-2010 01:59 AM
ftp user can't create a directory on ftp server bharatlalgupta Red Hat 4 01-27-2010 02:58 PM
How do I create a new FTP user? lupus6x9 Linux - Newbie 1 09-01-2008 10:15 PM
How do I create a admin user for FTP? dwz3591 Linux From Scratch 1 07-03-2005 07:47 AM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 01:11 PM.

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