ssh gives wrong name for virtual set user
Jens Kasten <[email protected]>
| Newsgroups | gmane.linux.rsbac |
|---|---|
| Message-ID | <[email protected]> |
Hi list, I did the follow on a remote_machine: rsbac_groupadd -S 5000 jens rsbac_useradd -S 5000 jens rsbac_usershow -S 5000 -l 5000/jens 2000 rsbac_passwd -n -S 5000 jens Now connect to this remote_machine with ssh: ssh 5000/jens@remote_machine Password: Write failed: Broken pipe On the remote_machine in the log: rsbac_adf_request(): gid 2000 not known to RSBAC User Management! So the virtal set is not proper handle with the ssh. For testing I did create with UM an user tester: (Its the first user I create so its get the uid and gid with number 2000) rsbac_groupadd tester rsbac_useradd -g tester tester Then I can connect with sshh, but with some mixing. The home directory is from the virtual set user 5000/2000, but the name is from 0/2000 user. The call id show: uid=2000(tester) gid=2000(tester) Gruppen=2000(tester) Further test I try on the remote_machine a change user: su - 5000/jens And in the log is: rsbac_auth_p_capset_member(): adding AUTH group capability for gid 2000 to process 4456 (su) to transaction 0! Its simply use all information from the user tester. -- Mit freundlichen Grüßen Jens Kasten http://www.kasten-edv.de _______________________________________________ rsbac mailing list [email protected] http://www.rsbac.org/mailman/listinfo/rsbac