jupyterhub / jupyterhub/systemdspawner

systemd user service should use user's default login shell

Open
#155 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
100
Forks
44
PR merge metrics
No merged PRs in 30d

Description

### Proposed change

The transient systemd unit should be configured to run with the user's default login shell from passwd.

### Alternative options

While it is possible to configure SystemdSpawner.default_shell, this setting affects all users on the system.
### Who would use this feature?

That's helpful for multi-user systems with users who have different login shells (bash,zsh, tcsh, etc.)

### (Optional): Suggest a solution

Contributor guide

Open the contributing guide

Research direction

Locate the code that configures the transient systemd unit and inspect how SystemdSpawner.default_shell is currently applied. Check how the user's default login shell is represented in passwd, then verify that each user's unit uses that shell without changing the global setting; add or update the relevant tests if the repository provides them.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
infrastructure
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.