Conversation
Notices
-
Installing openssh on a winxp box for the first time. having trouble with the /etc/passwd file...permission denied. hmm...
Friday, 26-Dec-08 16:35:06 UTC from api-
@heathenx are you using cygwin?
-
@trixtur: i believe openssh is cygwin
-
@heathenx makes sense, is your /etc/passwd local or controlled by some network config?
-
@trixtur: It should be local but having trouble setting it up. Not sure what needs to be in the /etc/passwd file.
-
@trixtur: Just subscribed to you. Sorry that I hadn't before.
-
@heathenx the following format: <username>:<password hash>:<UID>:<GID>:<Name>:</path/to/home>:<shell>
-
@heathenx no worries, the hardest part is figuring out what method to use for the hash
-
@heathenx better yet.... cygwin comes with an app that will build it for you: mkpasswd.exe -l >> .etcpasswd from your cygwin folder
-
@heathenx oops the backslashes got stripped. .\etc\passwd
-
@trixtur: yes, the makpasswd -l bit is where i'm stuck. nothing is being written into the /etc/passwd file. i'm sure it's a rookie mistake
-
@trixtur: Went with CopSSH instead. Much closer now but my connection keeps closing.
-