Quantcast
Channel: Is there a way to perform a full login as another user without being root? - Unix & Linux Stack Exchange
Browsing latest articles
Browse All 3 View Live

Answer by Dean Kayton for Is there a way to perform a full login as another...

Edited to use ssh instead of login because it can make use of public-key-authentication and does not need a modification to the sudoers list (by sudo visudo). I also add the command to /etc/bash.bashrc...

View Article


Answer by Fiximan for Is there a way to perform a full login as another user...

On a very simplistic base, you could replace the respective login-shell variable in /etc/passwd to a redirection script: john_AD:x:1000:1000:,,,:/home/john_old:/sbin/redirect_user And the script would...

View Article


Is there a way to perform a full login as another user without being root?

In our setup, we are forced to use Microsoft Active Directory (AD) for ssh access to our Linux VM, so that when employees leave they can be blocked from accessing the VM once their AD account is...

View Article
Browsing latest articles
Browse All 3 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>