Coder Social home page Coder Social logo

fakeuser's People

Contributors

progandy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

fakeuser's Issues

help or advice

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.

AUR PKGBUILD

Hi, I've just created a PKGBUILD for fakeuser, feel free to review it and to add a reference to it in your README if you want. Thanks.

Reason for creating it: probably it will be adopted here.

fakeuser.c:(.text.startup+0xb8): aviso: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp'

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'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.