Go Back   Velocity Reviews > Newsgroups > Computer Security
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

Computer Security - OpenSSH on Windows Syntax question.

 
Thread Tools Search this Thread
Old 01-18-2008, 07:22 AM   #1
Default OpenSSH on Windows Syntax question.



Hi all,
This is my first posting and I have a newbie question please bear with
me. I have successfully installed OpenSSH(on my second domain
controller) and now I am trying to add a user to the passwd file. The
environment is a Windows 2003R2 domain with two domain controllers and
the user is a domain user. The network is working fine and the two
servers have no problems talking to each other.
The two problems I have are,
1. The user I am trying to add is a Windows domain user
2. The username has a space in between the first name and last name.
The syntax I used is as following from the command line
C:\Program Files\OpenSSH\bin>mkpasswd -d -u test user >> ..\etc\passwd

After a few seconds........ I get the below,

mkpasswd: [2453] Could not find domain controller for this domain.

I am pretty much aware that this is a syntax problem but I cant seem to
find any answers especially with regards to this on the net. Thanks in
advance

cheers

Ravin P


------------------------------------------------------------------------
View this thread: http://www.wirelessforums.org/showthread.php?t=37034
http://www.wirelessforums.org



perr
  Reply With Quote
Old 01-18-2008, 02:58 PM   #2
Todd H.
 
Posts: n/a
Default Re: OpenSSH on Windows Syntax question.
perr <> writes:

> Hi all,
> This is my first posting and I have a newbie question please bear with
> me. I have successfully installed OpenSSH(on my second domain
> controller) and now I am trying to add a user to the passwd file. The
> environment is a Windows 2003R2 domain with two domain controllers and
> the user is a domain user. The network is working fine and the two
> servers have no problems talking to each other.
> The two problems I have are,
> 1. The user I am trying to add is a Windows domain user
> 2. The username has a space in between the first name and last name.
> The syntax I used is as following from the command line
> C:\Program Files\OpenSSH\bin>mkpasswd -d -u test user >> ..\etc\passwd
>
> After a few seconds........ I get the below,
>
> mkpasswd: [2453] Could not find domain controller for this domain.
>
> I am pretty much aware that this is a syntax problem but I cant seem to
> find any answers especially with regards to this on the net. Thanks in
> advance


Hi Ravin,

To deal with the space (ugh) in the username, either wrap the argument
in double or single quotes "like this" or 'like this' or prepend a
backslash to the space to "escape" the space so the command processor
doesn't see it as an argument separator:
like\ this

This is not an ssh trick, it's a general command processor/shell
dealio.

There is an ssh newsgroup that'll be more focused to your concerns for
follow on questions, for what it's worth: comp.security.ssh

Best Regards,
--
Todd H.
http://www.toddh.net/


Todd H.
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Reset / Recover Forgotten Windows NT / 2000 / XP / 2003 Administrator Password wskaihd Software 2 11-17-2009 02:01 AM
How to activate Remote Assistance with XP using Windows Live Messenger Oziisr General Help Related Topics 0 02-01-2008 04:45 PM
Computer Security aldrich.chappel.com.use@gmail.com A+ Certification 0 11-27-2007 02:11 AM
MCITP: Enterprise Support Technician MileHighWelch MCITP 1 06-19-2007 10:25 PM
Re: Question about MS critical updates John Coode A+ Certification 0 06-30-2004 06:08 PM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46