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

SSH Setup

 
Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [SFU / Interix / SUA Technology] >> SFU / Interix - Getting Started >> SSH Setup Page: [1]
Login
Message << Older Topic   Newer Topic >>
SSH Setup - Apr. 5, '06, 4:32:17 PM   
easterly

 

Posts: 3
Joined: Apr. 3, '06,
Status: offline
I have a Windows 2003 SP1 Domain Controller. I need to provide SSH access to this DC to automate some file transfers from a mainframe. I have installed SFU 3.5 and have successfully updated the installation with other packages that were available through this site. (Thanks btw)

When I log in via SSH, the home directory that I specified in Active Directory Users & Computers (ADU&C) is good. However I have to also configure the default shell to tcsh for the account that the mainframe is going to use; and when I login, I would like to bash to be my default shell. I cannot figure this out.

First the account that needs to login with tcsh as the default shell-

For UNIX Attributes I have set the following in ADU&C:

Login Shell: /bin/tcsh
Home Directory: /net/sv210129/users$/GE1045

For Profile I have set the following in ADU&C:

Home Folder: Connect: H: \\sv210129\users$\GE1045

If I finger the account:

Login: GE1045 Name: GE1045
Directory: /net/sv210129/Users$/GE1045 Shell: /bin/sh

Login from the BASH Shell pwd: /dev/fs/H
Login from putty pwd: /net/sv210129/users$/GE1045

I can also cd $HOME and all is well with that too.

Everything is running on this single DC.

Any suggestions?
Post #: 1
RE: SSH Setup - Apr. 5, '06, 4:52:53 PM   
Rodney

 

Posts: 3728
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
The login shell for Interix doesn't have any relationship to the Unix Attributes.
Apples and oranges.

You use the chsh command at a shell prompt as that user.

(in reply to easterly)
Post #: 2
RE: SSH Setup - Apr. 6, '06, 11:22:27 AM   
easterly

 

Posts: 3
Joined: Apr. 3, '06,
Status: offline
So would it be possible to add a .profile to the user home directory and have the command to load the desired shell in it?

(in reply to Rodney)
Post #: 3
RE: SSH Setup - Apr. 6, '06, 1:31:35 PM   
easterly

 

Posts: 3
Joined: Apr. 3, '06,
Status: offline
I'm going to answer my own question. I created a file called ".profile" in the $HOME directory. Added tcsh to the file and the shell comes up.

Thanks.

(in reply to easterly)
Post #: 4
RE: SSH Setup - Apr. 6, '06, 3:09:09 PM   
Rodney

 

Posts: 3728
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
Remember to have the "-l" (dash small-ell) to make it a login shell.

(in reply to easterly)
Post #: 5
Page:   [1]
All Forums >> [SFU / Interix / SUA Technology] >> SFU / Interix - Getting Started >> SSH Setup 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.047