Become 1.0

Become project changes the current effective, or real, user and group identity to those specified on the command line.
Become project changes the current effective, or real, user and group identity to those specified on the command line. The default shell (/bin/sh) is then executed.

UID and GID are specified numerically and do not have to be currently defined on the system.

Usage:

become [ -chrv ] [uid][:gid]

Options
-c
Clear supplementary groups.
-h
Display usage information.
-r
Set real IDs instead of effective IDs.
-v
Increase verbosity.

Examples

By default become only changes the effective IDs and leaves any supplemental groups unchanged as shown in the following example:

> become 666:666
euid=666, uid=0, egid=666, gid=0
$ id
uid=0(root) euid=666 gid=0(wheel) egid=666 groups=666, 0(wheel)

Supplementary groups are cleared when the "-c" option is used:

> become -c 123:123
euid=123, uid=0, egid=123, gid=0
$ id
uid=0(root) euid=123 gid=0(wheel) egid=123 groups=123

When the "-r" option is used become effects real IDs rather than effective IDs:

> become -r 626:3203
euid=626, uid=626, egid=3203, gid=3203
$ id
uid=626 gid=3203 groups=3203, 0(wheel)

last updated on:
August 18th, 2007, 12:05 GMT
price:
FREE!
homepage:
www.bindshell.net
license type:
GPL (GNU General Public License) 
developed by:
Dave Armstrong
category:
ROOT \ Utilities
Become
Download Button

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

Rate it!

Add your review!

SUBMIT