Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | ssh password less login in cygwin lead to no privilege? |
|---|---|
| Date: | Fri, 30 Dec 2005 13:36:04 -0500 |
I installed a cygwin+openssh on windows 2003 base on instructions from http://pigtail.net/LRP/printsrv/cygwin-sshd.html ssh administrator@192.168.1.203 and enter password can login. run diskpart command works. i added my id_dsa.pub to remote authorized_keys file and now can login without asking for password. then strange thing happen here. running diskpart told me that i can not connect to management service, which is a sign of no enough privilege. (my normal user on windows can not run diskpart because of no enough privilege.) i remove the entry from authorized_keys file and login with password again, i still can NOT run diskpart. i restart sshd in cygwin and then i can run diskpart after login with password. so it seems that ssh perform differently here. any idea on this? my intention is to use ssh to automate some windows management tasks, so i need to have administrator privilege in ssh. please cc to me, i am not on this list. Thanks and wish all of you a wonderful new year! Ming
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [Full-disclosure] rssh: root privilege escalation flaw, Derek Martin |
|---|---|
| Previous by Thread: | [Full-disclosure] rssh: root privilege escalation flaw, Derek Martin |
| Indexes: | [Date] [Thread] [Top] [All Lists] |