Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
It seems that there are a lot of people with this problem so i am glad i am not the only one, only the problem is there are not as much answers as questions.
anyone of you already got it working?
ok, here is my storie:
* i set up a chroot-jail completely following the manual and double checked for typo's .
*i tried to log in, but /bin/su says: /bin/su: user xxx does not exist.
*yes, i have /home/xxx/etc/passwd and group setup right.
*when i do just: chroot /home/xxx it works fine
*when i do in that manual chroot: whoami , then: whoami: cannot find username for UID 0
*i say in the manual chroot: cat /etc/passwd en this is the output:
root:x:0:0:root:/:/bin/bash
xxx:x:1013:100::/home/xxx:/bin/bash
*so: /bin/su is not watching in my /home/xxx/etc/passwd, and yes rights are ok
this is what i have now, i am still messing around with it and if i make some progress i'll post it here or someone has to post a solution here .
Now, I need to give full access to other two directories to jdoe, say /tmp1 and /tmp2 which at present I cannot access when I login as ssh jdoe@localhost.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.