Skip to content

Allow standard (non-admin) user to update R by asking an admin user name + an admin password #48

Description

@CroixJeremy2

Hello,

updateR() prevents standard users to update R. It asks the password for the current user, but when the user is not an admin, then I get this error message:

Error in updateR() : 
  current user XXXXX does not have admin privileges
In addition: Warning message:
In system(command, intern = TRUE) :
  running command 'echo 'ekfvb' | sudo -S -l' had status 1

Would that be possible to update the updateR function by asking an admin user name + an admin user password, if the current user is a standard (non-admin)?

Thanks in advance for your response,
Best regards,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions