#3095 [RFE] add possibility to specify override_shell parameters
Closed: Invalid None Opened 7 years ago by seberm.

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

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..

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.

Thank you for understanding, closing.

resolution: => wontfix
status: new => closed

Metadata Update from @seberm:
- Issue set to the milestone: NEEDS_TRIAGE

7 years ago

SSSD is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in SSSD's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/4128

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Login to comment on this ticket.

Metadata