Home_greyopenFATE - openSUSE feature tracking > #314473
Dashboard | Search | Sign up | Login

Please login or register to be able to edit or vote this feature.

Replace pwdutils with shadow utilities

Feature state

openSUSE Factory
Done

Description

The pwdutils are from a time where the shadow utilities did not had a maintainer and the patches every Linux distribution had were longer then the whole source code.

Meanwhile the upstream project is active again and most patches where accepted. Thus we should switch to the shadow project to get all the advantages (for example acl,extended attributes,selinux support).

Relations

Documentation impact

RN

Discussion


icons/user_comment.png A. J. wrote: (4 years ago)

I agree, let's do this.

icons/user_comment.png J. E. wrote: (4 years ago)

Also, the meaning of -m is reversed between pwdutils and shadow-utils. Switching to shadow-utils would certainly confuse lots of scripts and existing practices.

pwdutils-useradd -mk /var/lib/empty
shadow-utils-useradd -k /var/lib/empty

icons/user_comment.png T. K. wrote: (4 years ago)

Where is the meaning of -m reversed? According to the manual pages and my testing, it is the same.

icons/user_comment.png C. H. wrote: (3 years ago)

This change broke the audit-test (
http://sourceforge.net/projects/audit-test/ ) due to missing --stdin switch for passwd. And there may be other scripts that make use of it.

icons/user_comment.png A. M. wrote: (2 years ago)

I am not happy with this decision.
1. pwdutils has the ability to change shell and gecos via NIS. (chsh, chfn)
The programs from the shadow package can't do this.
In principal, the programs from yp-utils could be replacemant for this feature, but in the default setup the claim to be "deprecated" and call programs from the shadow-package.

2. The "-p" option for useradd, usermod, userdel was very nice in pwdutils.
shadow doesn't have this option.

Last change: 2 years ago
Voting
Score: 0
  • Negative: 1
  • Neutral: 1
  • Positive: 1
Tags

No tags yet.

Feature Export
Application-xmlXML   Text-x-logPlaintext   PrinterPrint