Skip to contentSkip to conversation

openssh

DISCUSSION Timothy Wood 2 participants 3 messages Aug 26, 2002 SELinux security module

lore
Share & tools
lore
#0 lore raw

After installing the version of ssh that comes with SELinux I am unable to connect to the machine. I've followed the instructions in the README.privsep to make sure everything is setup and still nothing. I tried a make install to reinstall it and I noticed that the install reports that the sshd user is not setup despite the fact that it does output the user id information for the sshd user when it calls id sshd from the script. There are no avc or log messages generated (other than the normal ssh connect failed message) in enforcing or permissive mode. I'd assume that this is a problem installing ssh since it doesn't even work in permissive mode. Any ideas as to what I've done wrong?

Timothy,

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.

#1 lore raw
Quoted 10 lines · Timothy Wood

After installing the version of ssh that comes with SELinux I am unable to connect to the machine. I've followed the instructions in the README.privsep to make sure everything is setup and still nothing. I tried a make install to reinstall it and I noticed that the install reports that the sshd user is not setup despite the fact that it does output the user id information for the sshd user when it calls id sshd from the script. There are no avc or log messages generated (other than the normal ssh connect failed message) in enforcing or permissive mode. I'd assume that this is a problem installing ssh since it doesn't even work in permissive mode. Any ideas as to what I've done wrong?

I assume that you restarted sshd (either by rebooting or by running run_init /etc/init.d/sshd restart)? Are you using the latest release (2002082308, 23 August 2002) or the previous one (2002070313, 3 July 2002)? Did you download from the NSA SELinux web site or the sourceforge CVS tree?

--
Stephen D. Smalley, NAI Labs
[email protected]

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.

#2 lore raw

В Пнд, 26.08.2002, в 09:48, Stephen Smalley написал:

Quoted 20 lines · Timothy Wood
Quoted 11 lines

After installing the version of ssh that comes with SELinux I am unable to connect to the machine. I've followed the instructions in the README.privsep to make sure everything is setup and still nothing. I tried a make install to reinstall it and I noticed that the install reports that the sshd user is not setup despite the fact that it does output the user id information for the sshd user when it calls id sshd from the script. There are no avc or log messages generated (other than the normal ssh connect failed message) in enforcing or permissive mode. I'd assume that this is a problem installing ssh since it doesn't even work in permissive mode. Any ideas as to what I've done wrong?

I assume that you restarted sshd (either by rebooting or by running run_init /etc/init.d/sshd restart)? Are you using the latest release (2002082308, 23 August 2002) or the previous one (2002070313, 3 July 2002)? Did you download from the NSA SELinux web site or the sourceforge CVS tree?

Quoted 7 lines

--
Stephen D. Smalley, NAI Labs
[email protected]

I had to reboot because run_init has quit working for some reason, which I hadn't noticed. run_init is being denied transition. BTW I had to make my own /etc/init.d/sshd file because when I removed the RPMS for the stock openssh it took that file with it. (I should have copied it somewhere else before I removed the rpms but I forgot to do that) Anyhow I can send the avc message for the run_init later because I do not have time right now, but as I previously mentioned the sshd is not leaving any messages so I don't know if that'll be of any use unless the problems are related somehow.

Previous release. NSA site.

Timothy,

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.