Documentation states at https://wiki.gentoo.org/wiki/Project:Infrastructure/LDAP_Guide, to use 'chsh' for changing the shell. When I do try this, if fails, as it can't my account in /etc/passwd. But normal ssh login works just fine. conikost@woodpecker ~ $ chsh -s /bin/zsh chsh: user 'conikost' does not exist in /etc/passwd Reproducible: Always
Changing manually loginShell via perl_ldap says: Insufficient access at /usr/local/bin/perl_ldap line 379. But access level is user according to doc, so in theory, I should be able to.
(In reply to Conrad Kostecki from comment #1) > Changing manually loginShell via perl_ldap says: Insufficient access at > /usr/local/bin/perl_ldap line 379. But access level is user according to > doc, so in theory, I should be able to. That has been fixed and works manually via perl_ldap now.
Still an issue.
Still fails.
(In reply to Conrad Kostecki from comment #4) > Still fails. What does?
(In reply to Alec Warner from comment #5) > (In reply to Conrad Kostecki from comment #4) > > Still fails. > > What does? See my initial post for output :-)
Lets try again: chsh will never change your shell on d.g.o or other machines where we use LDAP for NSS; because chsh doesn't know how to edit LDAP. perl_ldap should work to change your shell. if perl_ldap doens't work, please provide output so we can fix it. You wrote in comment #2 that it did work; so I am left slightly confused. -A
(In reply to Alec Warner from comment #7) > chsh will never change your shell on d.g.o or other machines where we use > LDAP for NSS; because chsh doesn't know how to edit LDAP. Well, maybe I did completly missunderstood something here, but https://wiki.gentoo.org/wiki/Project:Infrastructure/LDAP_Guide speaks about chsh for shell change. If you say, that this is not intended for ldap users, then we can close this here, as perl_ldap works fine. But maybe docs should be updated? > You wrote in comment #2 that it did work; so I am left slightly confused. Yes, this was, back then, suggested as an alternative, while I was asked to fill a ticket for chsh.
Closing here.