[clue-tech] Question for script wizards
dennisjperkins at comcast.net
dennisjperkins at comcast.net
Thu Apr 9 16:32:18 MDT 2009
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?
----- 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cluedenver.org/pipermail/clue-tech/attachments/20090409/49ab6fc1/attachment.html
More information about the clue-tech
mailing list