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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I am trying to chroot a user to just a folder and trying to follow the steps here http://www.thisisnotsupported.com/sf...il-on-centos6/ .The problem I am stuck here useradd -d /usr/local/test1 -s /bin/false -G sftponly user1 it gives me useradd: user 'user1' already exits. The problem I have add user1 before this steps. So how to go about it.
Thank you all that works and even the securing works the user can just sftp and see only one folder. Will there be any loophole for this sort of settings where they can access the other files via other routes?
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Go on the thread where all the post are shown on the top right corner you will see the place where it is written
"Please Mark this thread as solved if you feel a solution has been provided. "
just above were it is written "Post Reply"