LDAP users can't easily change their shell with chsh #18

Closed
opened 2021-08-16 16:53:19 +00:00 by a · 3 comments
Owner

When an LDAP user attempts to change their shell from Fish to something else, chsh returns

chsh: can only change local entries

Perhaps we could write a script for LDAP to change shells and other such information?

When an LDAP user attempts to change their shell from Fish to something else, `chsh` returns ``` chsh: can only change local entries ``` Perhaps we could write a [script](https://git.exozy.me/exozyme/Scripts) for LDAP to change shells and other such information?
a added the
bug
label 2021-08-16 16:53:19 +00:00
a added this to the (deleted) project 2021-08-16 16:55:29 +00:00
Author
Owner

There is chsh.ldap but it uses a Python script internally so I guess the best option is to write another script.

There is [chsh.ldap](https://man.archlinux.org/man/community/nss-pam-ldapd/chsh.ldap.1.en) but it uses a Python script internally so I guess the best option is to write another script.
Author
Owner

The current workaround is to use EDITOR=nano ldapvi --user uid=$USER,ou=People,dc=exozy,dc=me. Maybe I will write a Python script to wrap this. It's not very user friendly but it works for now.

The current workaround is to use `EDITOR=nano ldapvi --user uid=$USER,ou=People,dc=exozy,dc=me`. Maybe I will write a Python script to wrap this. It's not very user friendly but it works for now.
a closed this issue 2021-08-19 22:40:27 +00:00
Author
Owner

ldaptools might be something else to look into.

[ldaptools](https://github.com/coNQP/ldaptools) might be something else to look into.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: exozyme/exozyme#18
No description provided.