Closed vilmibm closed 6 years ago
I think the easiest way to do this would be to make the user make a file with a name of ~/.chsh
or something of the line with the contents of the desired shell, with a crontab entry to change the shell for respective users and then remove the .chsh file so it won't be redundantly changing the shell.
(bonus points: write a chsh
in /usr/local/bin or something similar, that creates a ~/.chsh
instead of the usual chsh binary)
Fixed, used pam.d rules.
This issue covers:
I'm not really sure yet how this should work or how it should be exposed. it's possible that we just want to wrap chsh and chfn with something and not involve the django admin at all.