• [^] # Re: Merci

    Posté par . En réponse au message Chmod 700 /usr/sbin. Évalué à 2.

    si c est juste pour interdire certaine commande, le fait de bloquer /usr/bin ne sert a rien, car il suffirait d importer un binaire d une autre machine

    regarde du cotes de rbash

    • directories with cd
    • or unsetting the values of SHELL, PATH, ENV, or BASH_ENV
    • command names containing /
    • a filename containing a / as an argument to the . builtin command
    • a filename containing a slash as an argument to the -p option to the hash builtin command
    • function definitions from the shell environment at startup
    • the value of SHELLOPTS from the shell environment at startup
    • output using the >, >|, <>, >&, &>, and >> redirection operators
    • the exec builtin command to replace the shell with another command
    • or deleting builtin commands with the -f and -d options to the enable builtin command
    • the enable builtin command to enable disabled shell builtins
    • the -p option to the command builtin command
    • off restricted mode with set +r or set +o restricted.

    /enjoy