running ~/.ssh/rc doesn't use users shell or file's interpreter (Security issue?)

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



I have an rc script and ran across what appears to be a bug.

In the rc script, I have the start line:
#!/bin/bash, as well as it seems to ignore the user's shell.

While one might argue that 'rc' is not executed, but sourced,
at the very least it seems it should use the user's listed
shell.

If I have a user setup with 'rbash', 'rsh', for example,
ssh would seem to ignore that and use /bin/sh.


_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux