This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: admin privileges when logging in by ssh?


> > When a user with administrative privileges logs in to sshd, it seems that the user is only granted
> > standard user privileges for that session.  Is there a way around that?  How can I get the admin
> > privileges for that session?
> 
> Nevermind.  I found the answer from Corinna way back in 2004:
> http://cygwin.com/ml/cygwin/2004-09/msg00087.html.  "The bottom line is, if you need all the user's
> access rights use password authentication.  If that doesn't help, you're out of luck."

Continuing my conversation with myself...

The above is half right.  It seems that I have to log in by password
authentication, and then authenticate again to UAC, before I get my admin
rights.  

At the console that's how it works:  I log in as the backup user, ask for admin
rights, authenticate again to UAC, and then, finally, can read or write any file
on the system.

In sshd, I log in by password authentication, but now I'm stuck because I don't
know a command-line program to authenticate to UAC.  Without that, I don't have
any admin rights.

So:  Is there a command-line program that will allow me to authenticate to UAC?
And do I have this right?

Thanks,
Andrew.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]