View previous topic :: View next topic |
Author |
Message |
j-m Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
Joined: 31 Oct 2004 Posts: 975
|
Posted: Wed Feb 16, 2005 2:35 pm Post subject: |
|
|
SilverOne wrote: | j-m wrote: |
Umm... No. Nothing. Nada. Zero... ![Laughing :lol:](images/smiles/icon_lol.gif) |
Try changin /usr/bin/sshd to /usr/sbin/sshd
It works for me then. |
Bingo! ![Razz :P](images/smiles/icon_razz.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
cselkirk Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 09 Jun 2003 Posts: 199 Location: NL
|
Posted: Wed Feb 16, 2005 3:15 pm Post subject: |
|
|
SilverOne wrote: | What I did not grasp was why [s]shd (which indeed skipped the grep process) was treated differently than /usr/bin/[s]shd (which showed up as /usr/bin/sshd in the grep process). The first expression is interpreted like we expected, and the second wasn't (well only on cselkirk's machine). |
If i understand your question, I think it's because bash is doing path expansion (and not brace expansion) on the /usr/sbin/[s]shd.
As to why my bash does not expand (either brace or path expansion) when testing this (see above) I have no idea other than the account used to test does not use bash (and there are no rc files read other than from /etc), so it is as "default" as one can get. _________________ cn=cselkirk,dc=xs4all,dc=nl |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|