Coder Social home page Coder Social logo

bash-syslog's People

Contributors

iamseth avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

bash-syslog's Issues

Variable missmatch

Hi, I used this patch and found an issue that can be easily fixed (I was using this for an old server after the bash security issue)

on uid you have %s, and that vcauses to hang when executing any command, but just changing it to uid:%d fixes it (line 104 and 111)

non-root user issue with getuid()

Hi,

I'm no C programmer, so please forgive me if this is not code-related issue.
My problem is that after patching bash code (bash-3.2-32) src rpm with your code, if I did su - limited-user or directly connected with the non-root user, on releasing a command it hanged with no way of closing the session.
I had a hunch that it is an access issue of some sort so I recompiled removing one-by-one the requests made by pathed bash when a limited user was issuing a command, and found that only the getuid() function is the cause.

Maybe you no longer use this, but it could be useful to solve the problem for others. For me it's OK with only getlogin() and getpid() and history string.

Regards.

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.