Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dh_testroot(1) [netbsd man page]

DH_TESTROOT(1)                                                       Debhelper                                                      DH_TESTROOT(1)

dh_testroot - ensure that a package is built with necessary level of root permissions SYNOPSIS
dh_testroot [debhelperoptions] DESCRIPTION
dh_testroot is used to determine if the package has access to at least the level of root access that it declared it needed via the Rules- Requires-Root (R3) field. The following is how dh_testroot behaves based on the effective value of the R3 field: "binary-targets" dh_testroot asserts that it is run as root or under fakeroot(1). "no" dh_testroot returns successfully. Any other value than the above dh_testroot asserts that it is either run as root (or under fakeroot(1)) or the builder has provided the DEB_GAIN_ROOT_CMD environment variable (e.g. via dpkg-buildpackage -r). For backwards compatibility, dh_testroot will consider the absence of the R3 field as if the R3 field was set to "binary-targets". SEE ALSO
debhelper(7) This program is a part of debhelper. AUTHOR
Joey Hess <> 11.1.6ubuntu2 2018-05-10 DH_TESTROOT(1)

Check Out this Related Man Page

DH_BUILDDEB(1)							     Debhelper							    DH_BUILDDEB(1)

dh_builddeb - build Debian binary packages SYNOPSIS
dh_builddeb [debhelperoptions] [--destdir=directory] [--filename=name] [--params] DESCRIPTION
dh_builddeb simply calls dpkg-deb(1) to build a Debian package or packages. It will also build dbgsym packages when dh_strip(1) and dh_gencontrol(1) have prepared them. It supports building multiple binary packages in parallel, when enabled by DEB_BUILD_OPTIONS. When the Rules-Requires-Root field is not (effectively) binary-targets, dh_builddeb will pass --root-owner-group to dpkg-deb(1). OPTIONS
--destdir=directory Use this if you want the generated .deb files to be put in a directory other than the default of "..". --filename=name Use this if you want to force the generated .deb file to have a particular file name. Does not work well if more than one .deb is generated! -- params Pass params to dpkg-deb(1) when it is used to build the package. -uparams This is another way to pass params to dpkg-deb(1). It is deprecated; use -- instead. SEE ALSO
debhelper(7) This program is a part of debhelper. AUTHOR
Joey Hess <> 11.1.6ubuntu2 2018-05-10 DH_BUILDDEB(1)
Man Page

5 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

root access on sun os and permissions

Currently have root access to our own boxes on site. HQ wants to take root access away from us. What does root access provide that is unavailable for users as it is essential for us to keep local control. We log in as users but have su for special needs. On all other os boxes we have admin... (2 Replies)
Discussion started by: allinone
2 Replies

2. UNIX for Dummies Questions & Answers

Run non-root script as root with non-root environment

All, I want to run a non-root script as the root user with non-root environment variables with crontab. The non-root user would have environment variables for database access such as Oracle or Sybase. The root user does not have the Oracle or Sybase enviroment variables. I thought you could do... (2 Replies)
Discussion started by: bubba112557
2 Replies

3. UNIX for Dummies Questions & Answers

Unix access rights

Hi, Is it true that if I am not the root I can not select access permissions to a file that I own so that my friend (who also isn't the root) can access that file? And is it true that the only way to accomplish it is to ask the root to "put" my friend into "my" group? Then I could simply set... (1 Reply)
Discussion started by: rudo
1 Replies

4. UNIX for Dummies Questions & Answers

Environment variable

Hi! Ok, so I'm no programmer and I have basically no experience in these stuff. However I need to work on a thing (I think you call it Framework) called Root. It's a tool used by physicists. In the manual they keep talking about Environment variable. Even thou I searched for what it is on the... (5 Replies)
Discussion started by: tirwit
5 Replies

5. UNIX for Advanced & Expert Users

Vendor root access

(7 Replies)
Discussion started by: hburnswell
7 Replies