sshd as a substitute for the suid bit on executables...

Corinna Vinschen corinna-cygwin@cygwin.com
Tue Mar 23 17:28:00 GMT 2004


On Mar 23 08:22, Richard Troy wrote:
> One additional challenge that has just occurred to me in my particular
> scenario is that in ordinary useage on Unix, my program that runs under
> the suid bit eventually launches a Java program that creates display
> windows and attaches to the keyboard/mouse in the usual way and the user
> never knows it's running as the file owner and not them. Before I go

Google is your friend.  Search for "Allow service to interact with desktop".

> Next, I can see how an account that has a particular privilege that
> provides all of the necessary access can have its shell re-directed to be
> a particular program other than a usual shell (just update /etc/passwd,
> right?) and can have a null passphraise providing a key-access
> (passwordless access) to the desired account by other users, captured so

man sshd, chapter "AUTHORIZED_KEYS FILE FORMAT"

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list