Skip to content
This repository has been archived by the owner on Feb 28, 2024. It is now read-only.

Passwd changing with pam_tacplus? #35

Open
joakim-tjernlund opened this issue Oct 1, 2015 · 9 comments
Open

Passwd changing with pam_tacplus? #35

joakim-tjernlund opened this issue Oct 1, 2015 · 9 comments

Comments

@joakim-tjernlund
Copy link
Contributor

From what I can tell TACACS+ supports changing passwd on the server.
Is there any support for this? If not, could it be added?

@daveolson53
Copy link

joakim-tjernlund [email protected] wrote:

From what I can tell TACACS+ supports changing passwd on the server.
Is there any support for this? If not, could it be added?

It shouldn't be too hard to add, the infrastructure is all there, if the
server supports it. As best as I can tell, the linux tac_plus server
does not, however.

Dave Olson
[email protected]

@gthouret
Copy link

gthouret commented Oct 1, 2015

I implemented it on my fork. It diverged a bit from this repo but has full support for password change, changing from prompt when password expired. All tested against Cisco ACS backend and OpenSSH on client.
https://github.com/WEMS/pam_tacplus

@joakim-tjernlund
Copy link
Contributor Author

On Thu, 2015-10-01 at 08:46 -0700, Guy Thouret wrote:

I implemented it on my fork. It diverged a bit from this repo but has full support for password change,
changing from prompt when password expired. All tested against Cisco ACS backend and OpenSSH on client.
https://github.com/WEMS/pam_tacplus

This is really great! Also it should be pushed upstream, any plans to do that?

Jocke

@gthouret
Copy link

gthouret commented Oct 2, 2015

I diverged a bit from upstream during development so it's not going to merge easily. I intended to clean things up and rebase the feature from upstream but never found the time to do it.

Looking through my commits most changes are separated fairly well so shouldn't be too much work. I don't have a test environment set up any more to test this though.

@benschumacher
Copy link
Contributor

I had done this too. You could also make it occur at first auth, which policies with Cisco ACS often require.

One of the biggest changes from what I recall was how the interaction with PAM/OpenSSH worked. You have to support challenge/response in OpenSSH for the exchange with the backend to work as expected.

@joakim-tjernlund
Copy link
Contributor Author

benschumacher, do you have source online somewhere?
Is "NSS integration for TACACS+ #28" included therin too?

@benschumacher
Copy link
Contributor

Let me upload what I've got in some form.

I've been intending to put together PRs, but haven't quite found the time, and have changed focus in my day job, so not so much support there from my new team.

@joakim-tjernlund
Copy link
Contributor Author

benschumacher, did you commit your source somewhere?
I starting to get close to impl. and want to look at all possibilities. We have our own embedded
device which needs this.

@benschumacher
Copy link
Contributor

This can be closed with the merge of #45 and #47.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants