Free Downloads, Community Forum,
FAQs and Developer Resources


Make /Tools Your Home | Link to us

Today's posts | Posts since last visit | Most Active Topics

All Forums Register Login Search Subscriptions My Profile Inbox
Tool Warehouse FAQs Resources Help Member List Address Book Logout

running batch files from rsh

 
Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [SFU / Interix / SUA Technology] >> SFU / Interix - Getting Started >> running batch files from rsh Page: [1]
Login
Message << Older Topic   Newer Topic >>
running batch files from rsh - Jun. 21, '06, 9:42:37 PM   
albertw

 

Posts: 4
Joined: Jun. 21, '06,
Status: offline
Hi all,

I need to be able to log into a 2003R2 server and run some batch files, which in turn run MASM, but that will be a whole different problem! If possible at all from what I read in the FAQ.

Is it possible to set a users shell to DOS so that the DOS batch scripts will work? I don't see any dos shell listed in /etc/shells.

If there isn't a way to give a user a DOS shell, what are my options? I see there is a telnet service that lets the user run DOS, but being telnet I can't do a passwordless login. Do I need to hunt down a win32 rshd from and older SFU?

Thanks,
~Al (newbie to working on windows...)
Post #: 1
RE: running batch files from rsh - Jun. 22, '06, 12:07:37 PM   
albertw

 

Posts: 4
Joined: Jun. 21, '06,
Status: offline
well to answer my own question...
it seems that adding /dev/fs/C/WINDOWS/system32/cmd.exe to /etc/shells and running chsh accomplishes what I need. At least it seems to be a valid win32 environment. Now just to get the PATH set to something useful automatically and get regpwd working... :-)

Cheers,
~Al

(in reply to albertw)
Post #: 2
Page:   [1]
All Forums >> [SFU / Interix / SUA Technology] >> SFU / Interix - Getting Started >> running batch files from rsh Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Search All Forums -

Advanced search


SPONSORS



Forum Software © ASPPlayground.NET Advanced Edition 2.5 ANSI

0.031