The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com

Feature #1455

HP-UX usermod and userdel need to be special

Added by Sam Rowe over 6 years ago. Updated about 6 years ago.

Status:ClosedStart date:07/28/2008
Priority:NormalDue date:
Assignee:James Turnbull% Done:

0%

Category:user
Target version:0.24.6
Affected Puppet version:0.24.4 Branch:
Keywords:hp-ux, user, provider

We've Moved!

Ticket tracking is now hosted in JIRA: https://tickets.puppetlabs.com

This issue is currently not available for export. If you are experiencing the issue described below, please file a new ticket in JIRA. Once a new ticket has been created, please add a link to it that points back to this Redmine ticket.


Description

I re-submitted my provider this morning with the changes to the test that Luke requested.

The provider is needed because on HP-UX regular usermod/userdel will refuse to make changes to a user that’s logged in. However, the system also provides undocumented binaries that don’t have that restriction. My provider uses those binaries.

If more info is needed, let me know.

0001-initial-checkin-of-hp-ux-provider-for-users.patch Magnifier - initial patch (3.34 KB) Sam Rowe, 07/28/2008 02:58 pm

0002-lak-s-requested-changes.patch Magnifier - changes to test (1.3 KB) Sam Rowe, 07/28/2008 02:58 pm

History

#1 Updated by James Turnbull over 6 years ago

  • Category set to user
  • Status changed from Unreviewed to Needs Decision
  • Assignee set to Luke Kanies
  • Target version set to 0.25.0

Luke – happy?

#2 Updated by Sam Rowe over 6 years ago

We discovered a problem with this today. It should use the regular /usr/sbin/useradd command instead of the special one. I’m happy to fix and resubmit, or not… whatever you guys want.

#3 Updated by James Turnbull about 6 years ago

  • Assignee changed from Luke Kanies to James Turnbull

sam wrote:

We discovered a problem with this today. It should use the regular /usr/sbin/useradd command instead of the special one. I’m happy to fix and resubmit, or not… whatever you guys want.

Please fix and re-submit.

#4 Updated by James Turnbull about 6 years ago

  • Assignee changed from James Turnbull to Sam Rowe

#5 Updated by Sam Rowe about 6 years ago

  • Assignee changed from Sam Rowe to James Turnbull

James and I talked about this. The special usermod ignores ‘-m’ so simply using the regular /usr/sbin/usermod works just fine. He said he’d make the change and check it in for 0.24.6.

#6 Updated by James Turnbull about 6 years ago

  • Status changed from Needs Decision to Closed
  • Target version changed from 0.25.0 to 0.24.6

Pushed in commit:0705dfb462b145ac9e4faafc517bbb833f2c81b9 in branch 0.24.x

Also available in: Atom PDF