summary refs log tree commit diff
path: root/pkgs/os-specific/linux/shadow
Commit message (Collapse)AuthorAge
* shadow: add runtime-shell.patchMatthew Bauer2021-04-11
| | | | | | | This gets the right shell in the closure. By default, shadow wants to pull in the bash we are building it with, while we would prefer it used the runtime bash.
* pkgs/os-specific: stdenv.lib -> libBen Siraphob2021-01-17
|
* treewide: with stdenv.lib; in meta -> with lib;Profpatsch2021-01-11
| | | | | | | | | | | | | | | | | | | Part of: https://github.com/NixOS/nixpkgs/issues/108938 meta = with stdenv.lib; is a widely used pattern. We want to slowly remove the `stdenv.lib` indirection and encourage people to use `lib` directly. Thus let’s start with the meta field. This used a rewriting script to mostly automatically replace all occurances of this pattern, and add the `lib` argument to the package header if it doesn’t exist yet. The script in its current form is available at https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
* shadow: Add testTim Steinbach2020-12-23
|
* shadow: 4.8 -> 4.8.1TredwellGit2020-10-06
| | | | https://nvd.nist.gov/vuln/detail/CVE-2019-19882
* treewide: Per RFC45, remove all unquoted URLsMichael Reilly2020-04-10
|
* shadow: 4.7 -> 4.8Will Dietz2019-12-05
|
* shadow: replace gnome-doc-utils with itstoolFrederik Rietdijk2019-11-03
| | | | gnome-doc-utils is no longer supported and requires Python 2.
* shadow: 4.6 -> 4.7Will Dietz2019-10-07
| | | | https://github.com/shadow-maint/shadow/releases/tag/4.7
* treewide: remove redundant quotesvolth2019-09-08
|
* treewide: name -> pname (easy cases) (#66585)volth2019-08-15
| | | | | | | | | treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
* shadow: rely on propagated findXMLCatalogs hookJan Tojnar2019-04-30
| | | | | | | shadow uses a copy of m4 from gtk-doc so we need to apply the same fix as in 407db7b0196417296677f2a4ef929bb092ec382b. Also patch it to use the correct DocBook version.
* treewide: Remove usage of remaining redundant platform compatability stuffJohn Ericson2018-08-30
| | | | | Want to get this out of here for 18.09, so it can be deprecated thereafter.
* shadow: update meta dataMarkus Kowalewski2018-08-18
|
* shadow: 4.5 -> 4.6Tim Steinbach2018-08-05
|
* Increase max group name length to 32 charactersaszlig2018-04-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With #36556, a check was introduced to make sure the user and group names do not exceed their respective maximum length. This is in part because systemd also enforces that length, but only at runtime. So in general it's a good idea to catch as much as we can during evaluation time, however the maximum length of the group name was set to 16 characters according groupadd(8). The maximum length of the group names however is a compile-time option and even systemd allows more than 16 characters. In the mentioned pull request (#36556) there was already a report that this has broken evaluation for people out there. I have also checked what other distributions are doing and they set the length to either 31 characters or 32 characters, the latter being more common. Unfortunately there is a difference between the maximum length enforced by the shadow package and systemd, both for user name lengths and group name lengths. However, systemd enforces both length to have a maximum of 31 characters and I'm not sure if this is intended or just a off-by-one error in systemd. Nevertheless, I choose 32 characters simply to bring it in par with the maximum user name length. For the NixOS assertion however, I use a maximum length of 31 to make sure that nobody accidentally creates services that contain group names that systemd considers invalid because of a length of 32 characters. Signed-off-by: aszlig <aszlig@nix.build> Closes: #38548 Cc: @vcunat, @fpletz, @qknight
* tree-wide: autorename gnome packages to use dashesJan Tojnar2018-02-25
|
* shadow: fix attempt to access 'stdenv.glibc'Will Dietz2018-02-13
|
* shadow: disable nscd on non-glibc (musl)Will Dietz2018-02-13
|
* shadow: 4.4 -> 4.5Rickard Nilsson2017-08-17
| | | | Fixes CVE-2017-12424
* shadow: Don't use stdenv ? crosshsloan2017-06-28
|
* shadow: fixup setuid/setgid build problems, hopefullyVladimír Čunát2017-06-07
|
* shadow: Fix hashEelco Dolstra2017-05-08
|
* shadow: Fix using default shell in useraddEelco Dolstra2017-05-08
| | | | | | | | This caused "useradd xyzzy" to produce a user with no shell: xyzzy:x:1002:100::/home/xyzzy: https://github.com/shadow-maint/shadow/pull/33
* shadow: 4.2.1 -> 4.4Michael Raskin2017-02-03
|
* shadow: fix collision with coreutils (man groups.1.gz)danbst2016-11-30
| | | | | | | | | The `groups.1.gz` collides with one from coreutils. The code to fix this was already present in expression, but wrongly assumes that share/man/man1 directory will be copied to `man` output after `installPhase`. It turned out, that man directory is set at configure step, so we should remove file from `man` output.
* shadow: Separate man outputEelco Dolstra2016-09-05
| | | | This removes ~2 MiB from the minimal config.
* treewide: Add lots of meta.platformsTuomas Tynkkynen2016-08-02
| | | | Build-tested on x86_64 Linux & Mac.
* shadow: fix passthruzimbatm2016-07-04
| | | | | | The shadow package's shellPath wasn't detected properly Fixes #16428
* shadow: add shellPath passthruzimbatm2016-06-12
| | | | This one is a bit special, it's used to deny users from logging in.
* fix "libc}/lib" and similar referencesVladimír Čunát2015-05-05
| | | | | Done mostly without any verification. I didn't bother with libc}/include, as the path is still correct.
* Upgrade shadow packagePaul Colomiets2014-08-01
|
* shadow: Fix lastlog and faillog to find logs in /var/logLuca Bruno2014-05-13
| | | | Fixes #2575 and closes #2586.
* su: Make the su package a provider of only the su binaryWilliam A. Kennington III2014-04-05
| | | | | Additionally, provide su with the base system and remove su from the util-linux package as it is now provided by shadow.
* Apply patch to shadow which allows dots (.) in user names.Rob Vermaas2012-09-18
|
* shadow: Don't install ‘groups’Eelco Dolstra2012-07-25
| | | | Coreutils already provides this command.
* shadow: Update to 4.1.5.1Eelco Dolstra2012-07-25
| | | | Fixes CVE-2005-4890 and CVE-2011-0721.
* svn path=/nixpkgs/trunk/; revision=30506Eelco Dolstra2011-11-21
|
* * Sigh. Nixpkgs broken again...Eelco Dolstra2011-11-21
| | | | svn path=/nixpkgs/trunk/; revision=30505
* Shadow: Make Linux-PAM optional; allow cross-compilation.Ludovic Courtès2011-11-19
| | | | svn path=/nixpkgs/trunk/; revision=30482
* Update the shadow tarball urlShea Levy2011-10-02
| | | | svn path=/nixpkgs/trunk/; revision=29564
* * Fix a hard-coded reference in `shadow' to /usr/sbin/nscd. ThisEelco Dolstra2010-07-14
| | | | | | | prevented the nscd cache from being properly invalidated after a change, so that e.g. `useradd x; id x' would fail. svn path=/nixpkgs/trunk/; revision=22599
* * Apply a few patches to make `su' behave more like the old `su' fromEelco Dolstra2010-06-04
| | | | | | | | | | | | | | | | | | coreutils: - Don't remove variables such as $PATH and $SHELL from the calling environment (from upstream). - When su is invoked with command line arguments for the shell (e.g. "su - -c 'cmd'"), set argv[0] in the shell to "-su" or "-<basename>" (as determined by the SU_NAME option in /etc/login.defs). This is necessary to make Bash compiled with the NON_INTERACTIVE_LOGIN_SHELLS option to read startup files. - Don't set $PATH to /bin:/usr/bin but inherit the $PATH of the caller. svn path=/nixpkgs/trunk/; revision=22140
* * Updated shadow to 4.1.4.2 (and build it with PAM support). ThisEelco Dolstra2010-06-02
| | | | | | might replace the pwdutils, pam_login and su packages in NixOS. svn path=/nixpkgs/trunk/; revision=22103
* * We don't need groups from shadow.Eelco Dolstra2006-11-28
| | | | svn path=/nixpkgs/trunk/; revision=7159
* upgrade to 4.0.16, remove builder, since it was just doing a genericBuildArmijn Hemel2006-06-29
| | | | svn path=/nixpkgs/trunk/; revision=5535
* * "." -> "source".Eelco Dolstra2005-12-05
| | | | svn path=/nixpkgs/trunk/; revision=4335
* * catamaran.labs.cs.uu.nl -> nix.cs.uu.nl.Eelco Dolstra2005-08-22
| | | | svn path=/nixpkgs/trunk/; revision=3660
* * Move tarballs to catamaran so that we are no longer dependent on aEelco Dolstra2005-02-15
| | | | | | gazillion different servers. Resurrected some 25 missing files. svn path=/nixpkgs/trunk/; revision=2237
* upgrade to 4.0.6, so it plays nice with other packages, changed header ↵Armijn Hemel2004-11-09
| | | | | | files, whatever... svn path=/nixpkgs/trunk/; revision=1729