[Server-devel] ssh.service error on CentOS 7.3

Adam Holt holt at laptop.org
Thu May 25 16:34:46 EDT 2017


On Thu, May 25, 2017 at 4:23 PM, James Cameron <quozl at laptop.org> wrote:

> Explore /etc/profile.d and look at each script added by xsce to find
> one that tries to do "/sbin/service" commands or mentions ssh.
>
> If that doesn't help, start a bash shell without profile
> (--noprofile), and then execute each file in turn until you find the
> culprit.
>

Thx, this line:

   if /usr/sbin/service ssh status | grep -q running; then

within /etc/profile.d/profile_ssh_warn.sh seems like a likely culprit, if
George has time to examine?  Also visible here:


https://github.com/XSCE/xsce/blob/ceff120a65008e70164fb7f37344204fb4d51c84/roles/3-base-server/templates/profile_ssh_warn.sh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.laptop.org/pipermail/server-devel/attachments/20170525/308d1dfe/attachment.html>


More information about the Server-devel mailing list