Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

As su switch user without password

I currently have more than a hundred different users and groups which control their own files via git. Is there a way for me to quickly switch to a user from the su without using the password for these users?

Essentially I want to do a git commands and preserve the users name and group when I access it as root. How can do this? I am currently using Fedora 22.

Thanks