Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 238999
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T20:33:01+00:00 2026-05-11T20:33:01+00:00

I am on a Windows Vista 64-bit Enterprise machine with Subsystem for Unix Applications

  • 0

I am on a Windows Vista 64-bit Enterprise machine with Subsystem for Unix Applications installed and the applications downloaded. I am attempting to use RSH to connect to a FreeBSD server. The command I would like to execute is:

rsh host.suffix1.company.com command

The .rhosts file in my home directory on host.suffix1.company.com looks like this:

+ myusername
+ mydomain\myusername
+ mydomain/myusername
+ myusername@mydomain
+ +
mycomputer.suffix2 myusername
mycomputer.suffix2 +
mycomputer.suffix2.company.com myusername
mycomputer.suffix2.company.com +

I know + + is bad, but let’s ignore that for now. When I run this:

rsh host.suffix1.company.com command

I get the following error:

rshd: Login incorrect.

However, when I run

rsh -l myusername host.suffix1.company.com command

this works flawlessly. What I’d like to know is:

  1. What is SUA sending as the username when I don’t specify it via -l?
  2. How can I change what SUA is sending?

I’m assuming that here SUA is sending some form of mydomain\myusername, but I’m wondering what other entries I might need to make to the rhosts file to allow this and why the + + isn’t allowing this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T20:33:01+00:00Added an answer on May 11, 2026 at 8:33 pm

    I would guess that examining syslog (or another appropriate log?) on the freebsd box could give you the login name from the failed login. On my linux machine I get the lines like the following from the frequent ssh attacks:

    May 19 19:57:40 anton sshd[29795]: Failed password for invalid user mercedes from 124.217.246.181 port 49198 ssh2
    May 19 19:57:40 anton sshd[29796]: Received disconnect from 124.217.246.181: 11: Bye Bye
    May 19 19:57:45 anton unix_chkpwd[29802]: password check failed for user (games)
    May 19 19:57:45 anton sshd[29799]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=ns1.1oasis.net  user=games
    May 19 19:57:48 anton sshd[29799]: Failed password for games from 124.217.246.181 port 49956 ssh2
    

    This is from sshd, but I would be surprised if not rshd is not able to log something similar (although it might be off by default and needs to be enabled).

    For guesses on what the rsh client made by microsoft gets the name from I have few ideas. A traditional unix rsh would of course get the name from /etc/passwd, reading it indirectly with getpwent() (failing that it might fall back to environmental variables LOGNAME or USER?). Is “myusername” present in c:\windows\system\etc\passwd (or whatever SUA maps as /etc/passwd)?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm on Windows Vista Home Premium 64 bit OS. I use Apache Friends XAMPP
I have Windows Vista 64-bit SP2. I am trying to use wxPython for GUI
I recently reinstalled my development machine and went from 32 bit Windows Vista to
I have python 2.6.6 and python 3.1.3 currently installed on my machine (Windows Vista
I'm on Windows Vista 64 bit, with a 64 bit jvm installed. I'm trying
I need to run perl on my windows vista machine. I downloaded the 64
I have some problems with Miktex installed on Windows Vista Business SP1/32 bit. I
It seems that using Critical Sections quite a bit in Vista/Windows Server 2008 leads
I'm using Windows Vista Ultimate and today I've installed the Visual Studio 2008 SP1,
How do you best test commercial windows .NET applications on different environments? (XP, Vista,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.