Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
error: rexec of /usr/sbin/extsshd failed: Permission denied
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Dale Dellutri  
View profile  
 More options May 1 2012, 3:18 pm
Newsgroups: comp.security.ssh
From: Dale Dellutri <ddelQQQl...@panQQQix.com>
Date: Tue, 1 May 2012 19:18:47 +0000 (UTC)
Local: Tues, May 1 2012 3:18 pm
Subject: error: rexec of /usr/sbin/extsshd failed: Permission denied
I have a separate instance of sshd running which I've renamed
extsshd.  extsshd has its own config and key files so that
I can maintain a separate policy for connections from the
external world.  sshd does connections from inside the lan.

This kind of setup has worked on previous servers very well.

Part of the setup requires creating a symbolic link to the original
sshd program:
  # ls -lZ /usr/sbin/*ssh*
  lrwxrwxrwx. root root system_u:object_r:sshd_exec_t:s0 /usr/sbin/extsshd -> sshd
  -rwxr-xr-x. root root system_u:object_r:sshd_exec_t:s0 /usr/sbin/sshd
I use a symbolic link instead of copying the binary so that
when ssh is updated, I don't have to re-copy the program.

However, I'm now getting this in the /var/log/secure:
  error: rexec of /usr/sbin/extsshd failed: Permission denied

Why is ssh trying to rexec the executable?
Why should it get "Permission denied" given that it's just a link?
Where can I look to try to trace down the cause of this error?

I do NOT get this error if I remove the symbolic link and
simply copy the executable:
  # cd /usr/sbin
  # cp -iva sshd extsshd
But then I'd have to remember to re-copy the executable each
time an update to ssh occurs.

--
Dale Dellutri <ddelQQQl...@panQQQix.com> (lose the Q's)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Shai Ayal  
View profile  
 More options May 1 2012, 4:47 pm
Newsgroups: comp.security.ssh
From: Shai Ayal <sha...@gmail.com>
Date: Tue, 1 May 2012 13:47:52 -0700 (PDT)
Local: Tues, May 1 2012 4:47 pm
Subject: Re: error: rexec of /usr/sbin/extsshd failed: Permission denied

I'm not sure as to the source of the error, but if your file system supports it, maybe a hard link would do the trick

Shai


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dale Dellutri  
View profile  
 More options May 6 2012, 7:33 am
Newsgroups: comp.security.ssh
From: Dale Dellutri <ddell...@panix.com>
Date: Sun, 6 May 2012 11:33:33 +0000 (UTC)
Local: Sun, May 6 2012 7:33 am
Subject: Re: error: rexec of /usr/sbin/extsshd failed: Permission denied
On 05 May 2012 23:05:27 GMT, all mail refused <elvis-85...@notatla.org.uk> wrote:

> > Part of the setup requires creating a symbolic link to the original
> > sshd program:
> Why not keep only one program file but have one process use -C
> to a different sshd_config?

This is from my web site info
  http://www.DaleDellutri.com -> Programming

"I've been asked why I needed to make a new init file and a new soft
link to the executable. There are three reasons. First, some of the
subroutines in the init script depend on the executable name being the
same as the service name. Second, when I do a "ps" or something else
that shows statistics by process, I'd be able to tell which ssh daemon
is which. Third, having a new name gives a consistent naming scheme to
all components of the new (RedHat-style) service."

By the way, I'm still getting the error message, but it doesn't seem
to make any difference.  It works even with the error message.

--
Dale Dellutri <ddell...@panix.com>


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »