Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Ok, i have linux Fedora and i'm connected to it via SSH. I just got linux and the dedicated box a couple days ago. I want to know, how i can add FTP only users. I want these ftp users to access only a specific folder and nothing else. I want these users to have a username and passwd that i assign them. How do i do this? And remember, i'm a noob, i dont know ANY techincal info and nothing about linux.
Also, you can assign them a shell like /bin/true so that they can't login to a shell (only to FTP). You'll have to make sure that this shell is listed in /etc/shells or the FTP server won't let them log in. If you're using WU-FTPD as your FTP server you can also use the restricted-uid directive in your /etc/ftpaccess file to restrict user do they can't change to a directory outside of your home directory (normally nonanonymous FTP users can transverse the system directory tree, but if permissions are set correctly of course they can't write anywhere outside of their own directory [or anywhere else you've given them access to]).
Hi bbrian017. Are you in root mode when you issue the command? If it doesn't work from root, try 'find / -name useradd' to locate and type in the full location name.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.