Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFE] add possibility to specify override_shell parameters #4128

Closed
sssd-bot opened this issue May 2, 2020 · 0 comments
Closed

[RFE] add possibility to specify override_shell parameters #4128

sssd-bot opened this issue May 2, 2020 · 0 comments

Comments

@sssd-bot
Copy link

sssd-bot commented May 2, 2020

Cloned from Pagure issue: https://pagure.io/SSSD/sssd/issue/3095

  • Created at 2016-07-14 16:33:17 by seberm
  • Closed as Invalid
  • Assigned to nobody

Is there a possibility to somehow specify arguments for shell defined in {{{override_shell}}} variable in {{{sssd.conf}}} file?

If not, is it possible to add it?

I would like to use ipython as my default shell and I need to specify 'profile' option.

Something like this:

override_shell = /usr/bin/ipython
override_shell_arguments = --profile pysh --no-confirm-exit

Comments


Comment from jhrozek at 2016-07-14 16:58:31

Currently it's not possible. I wonder if instead of adding more functionality it would be better to add an alias or a shell wrapper that would include the parameters? Or alternatively, can ipython read some dotfile?

In general, I don't think this is sssd's job to set up shell..


Comment from seberm at 2016-07-14 20:09:32

Replying to [comment:1 jhrozek]:

Currently it's not possible. I wonder if instead of adding more functionality it would be better to add an alias or a shell wrapper that would include the parameters? Or alternatively, can ipython read some dotfile?

I tried to create a shell wrapper:

export SHELL=/usr/bin/ipython
/bin/bash -c "/usr/bin/ipython --profile pysh"

The IPython starts but it is not possible to launch commands.

The IPython can read dotfiles but I have not found a way to specify profile name which will be started by default.

In general, I don't think this is sssd's job to set up shell..

Yes, I agree. I try to ask people from IPython how to make this work.

Thank you! I think we can close this RFE.


Comment from jhrozek at 2016-07-14 22:43:10

Thank you for understanding, closing.

resolution: => wontfix
status: new => closed


Comment from seberm at 2017-02-24 15:07:18

Metadata Update from @seberm:

  • Issue set to the milestone: NEEDS_TRIAGE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant