Add uidmap package, based on Ubuntu.

* passwd.install: add new subuid.5 and subgid.5 manpages
  * debian/rules, debian/control, debian/uidmap.install: create new uidmap
    package containing the new setuid-root binaries newuidmap and newgidmap
This commit is contained in:
Nicolas François
2013-08-09 23:54:47 +02:00
parent 2e014282f7
commit 2e8f003402
5 changed files with 20 additions and 0 deletions
+3
View File
@@ -18,6 +18,9 @@ shadow (1:4.2-1) UNRELEASED; urgency=low
* Moved to git: replace Vcs-Git in place of Vcs-Svn and adapt
Vcs-Browser.
* Add pam_loginuid to login PAM settings. Closes: #677441
* passwd.install: add new subuid.5 and subgid.5 manpages
* debian/rules, debian/control, debian/uidmap.install: create new uidmap
package containing the new setuid-root binaries newuidmap and newgidmap
-- Christian Perrier <bubulle@debian.org> Sat, 27 Jul 2013 20:07:18 +0200
+6
View File
@@ -33,3 +33,9 @@ Description: system login tools
workgroup type situations). The su program allows changing your effective
user ID (useful being able to execute commands as another user).
Package: uidmap
Depends: ${shlibs:Depends}, ${misc:Depends}
Architecture: any
Description: programs to help use subuids
These programs help unprivileged users to create uid and gid mappings in
user namespaces.
+2
View File
@@ -55,6 +55,8 @@ usr/share/man/man1/passwd.1
usr/share/man/man5/passwd.5
usr/share/man/man5/shadow.5
usr/share/man/man5/gshadow.5
usr/share/man/man5/subuid.5
usr/share/man/man5/subgid.5
usr/share/man/man8/chgpasswd.8
usr/share/man/man8/chpasswd.8
usr/share/man/man8/groupadd.8
+4
View File
@@ -67,6 +67,10 @@ endif
install -c -m 444 debian/cppw.8 debian/passwd/usr/share/man/man8
dh_lintian -p passwd
binary-predeb/uidmap::
chmod u+s debian/uidmap/usr/bin/newuidmap
chmod u+s debian/uidmap/usr/bin/newgidmap
binary-predeb/login::
# No real need for login to be setuid root
# chmod u+s debian/login/bin/login
+5
View File
@@ -0,0 +1,5 @@
usr/bin/newuidmap
usr/bin/newgidmap
usr/share/man/man1/newuidmap.1
usr/share/man/man1/newgidmap.1