[clue-tech] Question for script wizards
Sean LeBlanc
seanleblanc at comcast.net
Thu Apr 9 17:26:33 MDT 2009
On 04-09 22:32, dennisjperkins at comcast.net wrote:
> I've never thought about it and I don't really use ssh since I have
> nothing to ssh to, but wouldn't you get the login shell that is specified
> for you in /etc/passwd? If so, can you change your login shell on each
> remote host?
I would, but it's the same user on the host. In other words, shared. I find
myself typing "bash" everytime I log in. There is some other config I'd like
to do to, too, but that's the first thing.
> ----- Original Message -----
> From: "Sean LeBlanc" <seanleblanc at comcast.net>
> To: clue-tech at cluedenver.org
> Sent: Thursday, April 9, 2009 3:59:10 PM GMT -07:00 US/Canada Mountain
> Subject: [clue-tech] Question for script wizards
>
> Is it possible to configure a login based on where one logs in from?
>
> Let's say I have remoteuser on remotehost.
>
> I want the default shell to be different if I ssh in from machine "foo" vs.
> what the shell would be coming from machine "bar".
>
> --
> Sean LeBlanc:seanleblanc at comcast.net
> http://sean-leblanc.blogspot.com
> "Spare no expense to save money on this one."
> -- Samuel Goldwyn
> _______________________________________________
> clue-tech mailing list
> clue-tech at cluedenver.org
> http://www.cluedenver.org/mailman/listinfo/clue-tech
> _______________________________________________
> clue-tech mailing list
> clue-tech at cluedenver.org
> http://www.cluedenver.org/mailman/listinfo/clue-tech
--
Sean LeBlanc:seanleblanc at comcast.net
http://sean-leblanc.blogspot.com
Nothing takes the taste out of peanut butter quite like unrequited
love.
-- Charlie Brown
More information about the clue-tech
mailing list