Re: how to create a new user
At 01:56 AM 2/13/2002, Ryan T. Sammartino wrote: On Tue, Feb 12, 2002 at 05:26:54PM -0500, Alex BATKO wrote: We are doing pretty much the same things (in creating a user), but I get permission denied after entering the password (during an ssh attempt). You don't have this problem ? Can you think of anything that might be responsible for this ? /usr/doc/Cygwin/openssh-***.README solved all of my problems when I actually read and followed the direction given therein. Isn't it nice to have such good Cygwin documentation? (asked rhetorically) :-) Larry Hall [EMAIL PROTECTED] RFK Partners, Inc. http://www.rfk.com 838 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: how to create a new user
+--- | I have the latest greatest Cygwin possible (don't have | version numbers in front of me at the moment), but mkpasswd -u user | means make a password entry just for the given user | OK, thanks for pointing that out. Although I think that other then the amount of time required to fetch a given user password entry, there's no difference between `mkpasswd -u username` and `mkpasswd -d | grep username`. (With exception of the comma). | We are doing pretty much the same things (in creating a user), but | I get permission denied after entering the password (during an ssh | attempt). You don't have this problem ? Can you think of anything | that might be responsible for this ? | | /usr/doc/Cygwin/openssh-***.README solved all of my problems when I | actually read and followed the direction given therein. | I think that sshd is setup correctly - I am able to ssh into the windows machine (running cygwin/sshd) with another account. The problem is that billy can't log in using password authentication. PasswordAuthentication is set to 'yes'. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: how to create a new user
On Tue, Feb 12, 2002 at 01:35:06PM -0500, Alex BATKO wrote: Where in the documentation on the cygwin site is there information about how to create a new user ? Nowhere. It's in the Windows documentation. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developermailto:[EMAIL PROTECTED] Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: how to create a new user
OK. I have a particular user who already has a windows account, but now i'd like to be able to allow that user (username: billy) to ssh into the domain controller (to be able to use cygwin). What I did so far is `mkpasswd -d | grep billy /etc/passwd`. Then billy tries to do `ssh host_name -l billy`, but billy gets permission denied. So then i thought that billy might need a new password, so i ran `passwd billy`, and gave him a new password. Still no luck. This is why I was asking about documentation about creating a new user. Windows documentation is not enough; this is cygwin related. Do you have any idea about what I should try to let this user log in ? Thanks for your time. +--- | On Tue, Feb 12, 2002 at 01:35:06PM -0500, Alex BATKO wrote: | | Where in the documentation on the cygwin site is there information | about how to create a new user ? | | Nowhere. It's in the Windows documentation. | | Corinna +--- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: how to create a new user
+--- | On Tue, Feb 12, 2002 at 01:57:48PM -0500, Alex BATKO wrote: | | OK. I have a particular user who already has a windows account, | but now i'd like to be able to allow that user (username: billy) | to ssh into the domain controller (to be able to use cygwin). | | | | This is what I do: | | | #! /bin/bash | | mkpasswd -d -u $1 | sed -e |'s/:\([A-Za-z0-9_-]\+\),\([A-Za-z0-9_-]\+\),U-/:\2\1,U-/g' /etc/passwd | | | | Save that as adduser.sh, then you can just adduser.sh billy. | | The sed script is to turn real names from Lastname, Firstname | to Firstname Lastname, since the extra comma causes issues. If that | isn't an issue for you, then remove the sed script. +--- Thanks for replying... Fortunately there is no comma in my case, so i don't really need to do any substitutions. I'm not sure if you made a mistake or not, in typing the '-u' flag, because my mkpasswd doesn't support that option. We are doing pretty much the same things (in creating a user), but I get permission denied after entering the password (during an ssh attempt). You don't have this problem ? Can you think of anything that might be responsible for this ? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: how to create a new user
I'm not sure if you made a mistake or not, in typing the '-u' flag, because my mkpasswd doesn't support that option. You have an old mkpasswd. -u,--username username only return information for the specified user is relatively new. -- Gary R. Van Sickle Brewer. Patriot. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: how to create a new user
On Tue, Feb 12, 2002 at 05:26:54PM -0500, Alex BATKO wrote: I'm not sure if you made a mistake or not, in typing the '-u' flag, because my mkpasswd doesn't support that option. I have the latest greatest Cygwin possible (don't have version numbers in front of me at the moment), but mkpasswd -u user means make a password entry just for the given user We are doing pretty much the same things (in creating a user), but I get permission denied after entering the password (during an ssh attempt). You don't have this problem ? Can you think of anything that might be responsible for this ? /usr/doc/Cygwin/openssh-***.README solved all of my problems when I actually read and followed the direction given therein. -- Ryan T. Sammartino http://members.shaw.ca/ryants/ Receiving a million dollars tax free will make you feel better than being flat broke and having a stomach ache. -- Dolph Sharp, I'm O.K., You're Not So Hot -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/