Skip to content

By default shelljs runs command in root  #246

@lakshmantgld

Description

@lakshmantgld

Usually working with the Linux systems, working within specific user is more probable. So, shelljs can execute commands on particular user instead of executing in the root.

I agree that user can be changed using su but suasks for a password. So non-interactive scripts must be used to change user. So many complications.

So it is better that shelljs executes command on a user from where it was called else provide some function to change user provided the Password.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions