sfakeroot

manipulate files faking root privileges
git clone git://git.vx21.xyz/sfakeroot
Log | Files | Refs | README | LICENSE

sfakeroot.1 (933B)


      1 .Dd 2020-09-30
      2 .Dt sfakeroot 1
      3 .Sh NAME
      4 .Nm sfakeroot
      5 .Nd manipulate files with faked root privileges
      6 .Sh SYNOPSIS
      7 .Nm
      8 .Op Ar command
      9 .Sh DESCRIPTION
     10 .Nm
     11 runs
     12 .Ar command
     13 within an environment that has faked root privileges. If
     14 .Ar command
     15 is not specified then by default the shell specified by the SHELL environment
     16 variable is used as the command, if SHELL is unset then /bin/sh is used instead.
     17 .Sh OPTIONS
     18 .Bl -tag -width Ds
     19 .It Fl f Ar file
     20 Use
     21 .Ar file
     22 to initialise session state. On exit the session file is updated with
     23 the current state of the session. This can be used to preserve the session
     24 state between invocations of
     25 .Nm .
     26 .It Fl F Ar file
     27 Same as -f but exit if session cannot be loaded from
     28 .Ar file
     29 at startup.
     30 .El
     31 .Sh EXIT STATUS
     32 .Bl -tag -width "1-125"
     33 .It 126
     34 .Ar command
     35 was found but was not executable.
     36 .It 127
     37 .Ar command
     38 was not found.
     39 .El
     40 .Pp
     41 Otherwise sfakeroot returns the exit status of
     42 .Ar command .