Bash doesn't look to ~/.login at all, ~/.profile is the last file that bash uses for interactive login shells, according to the man page, but like you I've never managed to get it to work on Solaris.
To set a per-user profile for bash, I use the following file: ~/.bash_profile And for non-login interactive bash (e.g. those started within Gnome) I use: ~/.bashrc I've never tried using shebang lines (e.g. #! /usr/bin/bash) in shell profiles, but there isn't really any point if all you are doing is setting the user's path. To test if these work without logging out, then back in again, you can use, e.g.: su - myusername then enter the user's password (assuming you're not logged in as root, in which case it will log you straight in without it). Cheers Andrew. This message posted from opensolaris.org
