mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
cfc860b374
An enhanced su, allows user to su with own password, etc. Reviewed by: max Submitted by: John-Mark Gurney <gurney_j@efn.org>
22 lines
1.0 KiB
Plaintext
22 lines
1.0 KiB
Plaintext
From the README:
|
|
|
|
su2 is a great program for anyone that has anything to do with
|
|
system adiministration. 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 usernames into
|
|
~www/.su2rc to enable these users to 'become' www and do Web
|
|
adiministration. [This feature can be disabled if you are worried
|
|
about 'account sharing.']
|
|
|