<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.E-MailFormatvorlage18
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.E-MailFormatvorlage19
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DE" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hello,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">here is the complete output from /var/log/messages while trying to login with ssh<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Feb 18 16:58:22 raru systemd[1]: Started Session 26937 of user bf_detest.<o:p></o:p></p>
<p class="MsoNormal">Feb 18 16:58:22 raru systemd-logind[1221]: New session 26937 of user bf_detest.<o:p></o:p></p>
<p class="MsoNormal">Feb 18 16:58:47 raru jk_chrootsh[4392]: now entering jail /home/.sites/site1 for user bf_detest (1005) with arguments<o:p></o:p></p>
<p class="MsoNormal">Feb 18 16:58:47 raru jk_chrootsh[4392]: abort, failed to get group information in the jail for group ID 1003: Success, check /home/.sites/site1/etc/group<o:p></o:p></p>
<p class="MsoNormal">Feb 18 16:58:47 raru systemd-logind[1221]: Session 26937 logged out. Waiting for processes to exit.<o:p></o:p></p>
<p class="MsoNormal">Feb 18 16:58:47 raru systemd-logind[1221]: Removed session 26937.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">How to fix this?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Best regards,<o:p></o:p></p>
<p class="MsoNormal">Dirk<o:p></o:p></p>
<div>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:gray;mso-fareast-language:DE"><br>
<br>
<br>
blackpoint GmbH – Friedberger Straße 106b – 61118 Bad Vilbel <br>
<br>
<br>
</span><o:p></o:p></p>
</div>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="mso-fareast-language:DE">Von:</span></b><span style="mso-fareast-language:DE"> Blueonyx <blueonyx-bounces@mail.blueonyx.it>
<b>Im Auftrag von </b>Dirk Estenfeld<br>
<b>Gesendet:</b> Dienstag, 18. Februar 2020 16:36<br>
<b>An:</b> BlueOnyx General Mailing List <blueonyx@mail.blueonyx.it><br>
<b>Betreff:</b> [BlueOnyx:23667] Blueonyx 5210R - problems with jail<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hello,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I give site / user the right for Shell, SCSP, SFTP and so on.<o:p></o:p></p>
<p class="MsoNormal">Site: Chrooted Shell, SFTP, SCP und RSYNC<o:p></o:p></p>
<p class="MsoNormal">User: Chrooted Shell, SFTP, SCP und RSYNC<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">However user cannot login.<o:p></o:p></p>
<p class="MsoNormal">Always message session aborted. I tried to su from root to the user in the shell<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">su - bf_raru<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">In the /var/log/messages I see<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Feb 18 16:32:15 raru jk_chrootsh[31566]: now entering jail /home/.sites/site1 for user bf_raru (1004) with arguments<o:p></o:p></p>
<p class="MsoNormal">Feb 18 16:32:15 raru jk_chrootsh[31566]: abort, failed to get group information in the jail for group ID 1003: Success, check /home/.sites/site1/etc/group<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Content of /home/.sites/site1/etc/group<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">root:x:0:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Ist he group oft he siteadmin missing?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Best regards,<o:p></o:p></p>
<p class="MsoNormal">Dirk<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:gray;mso-fareast-language:DE">blackpoint GmbH – Friedberger Straße 106b – 61118 Bad Vilbel
<br>
<br>
</span><o:p></o:p></p>
</div>
</body>
</html>