Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Execute as User #1

Open
bradrydzewski opened this issue Mar 29, 2012 · 1 comment
Open

Execute as User #1

bradrydzewski opened this issue Mar 29, 2012 · 1 comment

Comments

@bradrydzewski
Copy link

It might be interesting to specify the user that is executing the task. Kind of like su $user. Could work like this:

iexec -u johnsmith -w /home/johnsmith -- whoami && pwd

I'm thinking we would daemonize a task under a different user id for security reasons. For example, root could daemonize a process as user johnsmith to prevent the daemonized process from having root permission, access to /root, etc

Thoughts?

@deads
Copy link
Owner

deads commented Mar 30, 2012

I implemented the feature you requested but it only works when the caller is root because there is no code to ask you to enter your password.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants