António José (ajose) wrote,
António José

  • Mood:


The more I explore the idea more I like it!

And I can get a very grained control over which users are allowed to run the commands, by controlling the ownership and the permissions of the named pipe itself.
I can setup a named_pipe where everyone can send commands to, or I can set it's permissions so that only one user can send commands.
And on the other side of the pipe I can have a root process, that gets the commands and just executes them.

And although I hadn't that idea, I think that this night I'll go for it (in a simplified version) to make me run the commands to create a user, delete a user, so forth....

That will make the application much more robust...

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded