i've created a custom profile that contains custom functions and alias' etc...
it's called .jason_profile
currently we ssh to the server then load the profile manually from the cmd line i.e
we want to be able to ssh and source the profile automatically but without having it added to bash_profile or bashrc. the reason for this is there are many users on this box and they dont necessarily want to inherit this custom profile
was hoping to get this working via ssh i.e
this doesnt work as by virtue of calling bash, we overwrite everything jack_profile sets.
yet i have to invoke bash else the ssh doesnt work (it logs on, executes the profile, bombs out back to the previous cmd prompt on the previous host)
also tried:
so how can i load this custom profile automatically without everyone inheriting it?
Hello to everyone,
This is my first that I use any group in order to find a reply to my question.
I would really like your help!!!
Do you know how can I create my own .profile file in unix (not edit the existing one) and how can I load it when i open a new bash? I would like those settings... (1 Reply)
I am running a serverapplication on a HP-UX machine where I need to handle some of the commands as a specified user called "druser".
When I log on as this user with the command;
sudo -u druser -sit starts an instance of the shell as that user.
However, it doesn't load that users .profile from... (1 Reply)
Hi,
I've set on /etc/profile:
TMOUT=3600
readonly TMOUT
It seems to work when I connect using ssh client, putty for example, but not when connect through sftp. What am I missing on sshd configuration?
regards
Israel. (2 Replies)
Hello,
What I wish to succeed is to setup loadbalancing between two dedicated servers. Here is my case:
=======================================================================================================
LB IP (Just an IP address): Provided by hosting company (11.22.33.44) Hosting company... (1 Reply)
Hello Good Day / Guten Tag....
I have to login the server and the user profile contains some scripts which need the inputs to be taken from the keyboard.
So I use the method to conn.authenticateWithKeyboardInteractive(username, new InteractiveCallback() {
public String... (1 Reply)