[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-bash] ignore user rc/profile files when ssh to the use login shell
[Help-bash] ignore user rc/profile files when ssh to the use login shell (bash)
Thu, 23 Aug 2018 15:29:56 +0000
You may know for any way to NOT load user files ~/.profile ~/.bashrc etc.. but
only the global file /etc/profile
when login interactively to a machine?
In general my users homdir are at NFS and home is shared between other linux
distros with some default to tcsh,
what I want is to manage it throw /etc/profile of each machine,
For example when user ssh to let's say Ubuntu, in /etc/profile I'll set
dedicated file for user to configure.. so if ~/.ubu_profile source it..
Is that hardcoded in bash source-code to load files from user home?
GNU bash, version 4.4.19(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Thanks in advance,
- [Help-bash] ignore user rc/profile files when ssh to the use login shell (bash),
Kobe Meshita <=