Tag Info

New answers tagged


What security problem? If you have 2 devices logged in as root and you're worried about one changing the password before the other you have bigger issues to worry about. Just so you know, the password and shadow files are owned by root, so if someone is logged in as root they can do whatever they want to the password. They don't even need to worry about ...


The combination of fakeroot / fakechroot gives a simulacre of chroot for simple needs such as producing tar archives where files appear to be owned by root. Fakechroot manpage is http://linux.die.net/man/1/fakechroot. You don't get any new permission though, but if you own a directory (e.g. fake-distro) before invoking fakechroot fakeroot chroot ...

Top 50 recent answers are included