progandy / fakeuser Goto Github PK
View Code? Open in Web Editor NEWLD_PRELOAD module to create fake users (use with fakeroot)
License: GNU General Public License v2.0
LD_PRELOAD module to create fake users (use with fakeroot)
License: GNU General Public License v2.0
hello,
this ticket is not related to a problem but to a request for help or advice.
I use the file explorer thunar
and the editor mousepad
as root user and I have a nice warning at the top of their interface.
just like fakeuser
, and to avoid recompiling the two tools after modifying the source code, is it possible to make them believe that they are executed by another user while keeping root privileges ?
both tools use the geteuid
function to display or not the warning (see here).
regards.
I would like to add fakeuser support to makepkg (https://lists.archlinux.org/pipermail/pacman-dev/2016-March/020938.html). It would be helpful if fakeuser included a fakeroot/fakechroot-style wrapper script to handle loading the library to prevent makepkg from having to locate and manually preload it.
PKGBUILD: line 30: patch: command not found
cc -march=native -O2 -pipe -fno-plt -D_GNU_SOURCE -D_XOPEN_SOURCE=700 -std=c99 -shared -fPIC -o libfakeuser.so fakeuser.c util.c -ldl -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now
cc -march=native -O2 -pipe -fno-plt -D_GNU_SOURCE -D_XOPEN_SOURCE=700 -std=c99 -o fakeadd fakeadd.c util.c -ldl -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now
/usr/bin/ld: /tmp/cc23WqSK.o: en la función `fakeuser_init':
fakeuser.c:(.text.startup+0xb8): aviso: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.