• # difference between su user and su - user

    Posté par . En réponse au message couldn't attach to dcop server. Évalué à 3.

    from AIX manpage:


    - Specifies that the process environment is to be set as if the user had logged in to the system using the login command. Nothing in the current environment is propagated to the new shell.


    Without -, the current environment is propagated to the new shell.