delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/08/11/07:45:26

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:date:message-id:mime-version
:content-type:content-transfer-encoding; q=dns; s=default; b=onP
gaJqf7LS37kqO0JMk6XCtxVDs0xcUqoADuWX1gbA7DNWyEv/6zw3/vHb+fTrhVeJ
3RINnsfqcOTovAnW38hRA1ZXMmBvIFBDHVjEE7epo+eStjw5KlOQYEK49Cf4SoNJ
VTiJ7Kg3aS839UpoPs45ve9lnTGfudVrzYIYBC2w=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:date:message-id:mime-version
:content-type:content-transfer-encoding; s=default; bh=5magd58NF
PryyqSbxsDkmIxJTHs=; b=jiLvTmwT0xvvQRMvh3Dj6cnGSJ7KC4OzKtPO/REeO
Xc4XmtV0pJFlHCACuVUmw8vHX2I+TBOxCN0Hs6mQgS/bIgH/BoU77lJ/7khWhxeg
Zhbnusy0mQ0S73TQmitbtW68Va9ikG4hIqQsAbzjyolsqBqiPv51aeEZcoNh12+2
IQ=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_40,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS,UNPARSEABLE_RELAY autolearn=ham version=3.3.2
X-HELO: plane.gmane.org
To: cygwin AT cygwin DOT com
From: stephane <stephane DOT oviste AT gmail DOT com>
Subject: /bin/bash: Operation not permitted
Date: Tue, 11 Aug 2015 11:42:17 +0000 (UTC)
Lines: 27
Message-ID: <loom.20150811T134046-206@post.gmane.org>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes

Hello

I have enabled sshd feature and key authentication.

Ssh users that do not have authorized_keys received the message "/bin/bash:
Operation not permitted"

Here is permissions :
$ ls -l /bin/bash
-rwxr-xr-x+ 1 Administrateurs Utilisa. du domaine 700435  3 juin  14:09
/bin/bash

User running sshd service is named "sshd".

user AT LOCALCOMPUTER~
$ cat /etc/passwd | grep sshd
LOCALCOMPUTER+sshd:*:197619:197121:U-LOCALCOMPUTER\
sshd,S-1-5-21-310385243-3694341406-529650493-1011:/home/sshd:/bin/bash

user AT LOCALCOMPUTER ~
$ cat /etc/group | grep 197121
LOCALCOMPUTER+None:S-1-5-21-310385243-3694341406-529650493-513:197121:

Could you help me please ?

Regards,
Stephane


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019