sysutils/su2 - The NetBSD Packages Collection

Enhanced su, users su with own password + more

   su2 is a great program for anyone that has anything to do with
system administration.  su2 gives you the ability to masquerade with
the UID of other users.  You use own password to switch.  Probably the
biggest benefit of su2 is that you retain your own customized shell
environment.

   For the most part, this program is used by system administrators to
become root, but su2 has been written to enable much more flexibility
than this.  Regular users can put a .su2rc file in their home
directory to enable other users to become them.  While this may sound
odd, it is sometimes useful to allow a number of users to masquerade
around with the uid of restricted accounts.  One such example of this
is a 'www' account which is a common occurance with the proliferation
of the web.  While the www user's password may be starred out to
disable direct logins, root could put a set of user names into
~www/.su2rc to enable these users to 'become' www and do Web
administration.  [This feature can be disabled if you are worried
about 'account sharing.']

Build dependencies

pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

(none)

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64su2-1.3.tgz
NetBSD 10.0aarch64su2-1.3.tgz
NetBSD 10.0aarch64ebsu2-1.3.tgz
NetBSD 10.0aarch64ebsu2-1.3.tgz
NetBSD 10.0alphasu2-1.3.tgz
NetBSD 10.0alphasu2-1.3.tgz
NetBSD 10.0earmv6hfsu2-1.3.tgz
NetBSD 10.0earmv6hfsu2-1.3.tgz
NetBSD 10.0earmv6hfsu2-1.3.tgz
NetBSD 10.0earmv7hfsu2-1.3.tgz
NetBSD 10.0earmv7hfsu2-1.3.tgz
NetBSD 10.0earmv7hfsu2-1.3.tgz
NetBSD 10.0i386su2-1.3.tgz
NetBSD 10.0i386su2-1.3.tgz
NetBSD 10.0powerpcsu2-1.3.tgz
NetBSD 10.0powerpcsu2-1.3.tgz
NetBSD 10.0powerpcsu2-1.3.tgz
NetBSD 10.0sh3elsu2-1.3.tgz
NetBSD 10.0sh3elsu2-1.3.tgz
NetBSD 10.0sparc64su2-1.3.tgz
NetBSD 10.0sparc64su2-1.3.tgz
NetBSD 10.0sparcsu2-1.3.tgz
NetBSD 10.0sparcsu2-1.3.tgz
NetBSD 10.0vaxsu2-1.3.tgz
NetBSD 10.0vaxsu2-1.3.tgz
NetBSD 10.0vaxsu2-1.3.tgz
NetBSD 10.0x86_64su2-1.3.tgz
NetBSD 10.0x86_64su2-1.3.tgz
NetBSD 9.0aarch64su2-1.3.tgz
NetBSD 9.0aarch64su2-1.3.tgz
NetBSD 9.0alphasu2-1.3.tgz
NetBSD 9.0alphasu2-1.3.tgz
NetBSD 9.0earmv6hfsu2-1.3.tgz
NetBSD 9.0earmv6hfsu2-1.3.tgz
NetBSD 9.0earmv6hfsu2-1.3.tgz
NetBSD 9.0earmv7hfsu2-1.3.tgz
NetBSD 9.0earmv7hfsu2-1.3.tgz
NetBSD 9.0earmv7hfsu2-1.3.tgz
NetBSD 9.0i386su2-1.3.tgz
NetBSD 9.0i386su2-1.3.tgz
NetBSD 9.0powerpcsu2-1.3.tgz
NetBSD 9.0powerpcsu2-1.3.tgz
NetBSD 9.0powerpcsu2-1.3.tgz
NetBSD 9.0sparc64su2-1.3.tgz
NetBSD 9.0sparc64su2-1.3.tgz
NetBSD 9.0x86_64su2-1.3.tgz
NetBSD 9.0x86_64su2-1.3.tgz
NetBSD 9.3x86_64su2-1.3.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.