Go Back   Wireless and Wifi Forums > News > Newsgroups > alt.computer.security
Register FAQ Forum Rules Members List Calendar Search Today's Posts Advertise Mark Forums Read

 
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-18-2008, 06:22 AM
Junior Member
 
Join Date: Jan 2008
Posts: 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
Reply With Quote
  #2 (permalink)  
Old 01-18-2008, 01:58 PM
Todd H.
Guest
 
Posts: n/a
Default Re: OpenSSH on Windows Syntax question.

perr <perr.33dksz@no-mx.wirelessforums.org> 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/

Reply With Quote
Reply


« Can font files be dangerous | Mobile Surveillance / IronKey »
Thread Tools
Display Modes

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenSSH Windows Security Erik Naslund alt.computer.security 13 11-26-2007 01:10 PM
Re: Windows Vista and "Local Only" Access Jeff Liebermann alt.internet.wireless 1 09-08-2007 12:42 AM
+ Microsoft and Nokia team up to offer Windows Live on S60 devices? Apocalypso™ alt.cellular.nokia 0 08-23-2007 07:17 AM
EEye publishes fix for Windows zero-day vulnerability spamhotmail@yahoo.com comp.security.misc 0 03-30-2007 09:11 PM


All times are GMT. The time now is 02:38 PM.



Powered by vBulletin® Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0 PL2

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