|
|
33.
|
|
|
EXAMPLES
|
|
|
type: SH
|
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../doc/fakeroot.1:125
|
|
|
34.
|
|
|
Here is an example session with B<fakeroot>. Notice that inside the fake root environment file manipulation that requires root privileges succeeds, but is not really happening.
|
|
|
type: Plain text
|
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../doc/fakeroot.1:130
|
|
|
35.
|
|
|
$ whoami 
joost 
$ fakeroot /bin/bash 
# whoami 
root 
# mknod hda3 b 3 1 
# ls -ld hda3 
brw-r--r-- 1 root root 3, 1 Jul 2 22:58 hda3 
# chown joost:root hda3 
# ls -ld hda3 
brw-r--r-- 1 joost root 3, 1 Jul 2 22:58 hda3 
# ls -ld / 
drwxr-xr-x 20 root root 1024 Jun 17 21:50 / 
# chown joost:users / 
# chmod a+w / 
# ls -ld / 
drwxrwxrwx 20 joost users 1024 Jun 17 21:50 / 
# exit 
$ ls -ld / 
drwxr-xr-x 20 root root 1024 Jun 17 21:50 // 
$ ls -ld hda3 
-rw-r--r-- 1 joost users 0 Jul 2 22:58 hda3
|
|
|
type: Plain text
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../doc/fakeroot.1:153
|
|
|
36.
|
|
|
Only the effects that user B<joost> could do anyway happen for real.
|
|
|
type: Plain text
|
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../doc/fakeroot.1:157
|
|
|
37.
|
|
|
B<fakeroot> was specifically written to enable users to create Debian GNU/Linux packages (in the B<deb>(5) format) without giving them root privileges. This can be done by commands like B<dpkg-buildpackage -rfakeroot> or B<debuild -rfakeroot> (actually, -rfakeroot is default in debuild nowadays, so you don't need that argument).
|
|
|
type: Plain text
|
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../doc/fakeroot.1:169
|
|
|
38.
|
|
|
SECURITY ASPECTS
|
|
|
type: SH
|
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../doc/fakeroot.1:169
|
|
|
39.
|
|
|
B<fakeroot> is a regular, non-setuid program. It does not enhance a user's privileges, or decrease the system's security.
|
|
|
type: Plain text
|
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../doc/fakeroot.1:173
|
|
|
40.
|
|
|
FILES
|
|
|
type: SH
|
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../doc/fakeroot.1:173
|
|
|
41.
|
|
|
I</usr/lib/*/libfakeroot-*.so> The shared library containing the wrapper functions.
|
|
|
type: Plain text
|
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../doc/fakeroot.1:176
|
|
|
42.
|
|
|
ENVIRONMENT
|
|
|
type: SH
|
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../doc/fakeroot.1:176
|