setuid login scripts as a shell
Bob Gorman
bob at rsi.com
Thu Mar 4 11:33:02 UTC 2004
>I'm wondering if there is any way to have a setuid login script?
>
>Have a user login via ssh to the system and when properly authenticated run the
>setuid binary.
You could exec the setuid program in the .bash_profile.
Or go in with SSH as the desired user, having set up the authorized_keys so the original user would not need to know the password.
There is also sudo.
--
I build custom Linux solutions - Hire me - I'll solve your problems.
mailto:bob(at)rsi.com, http://www.rsi.com/, 617.965.1700
More information about the redhat-list
mailing list