Re: Putting 'banner' into each started screen.........
Mike Gerwitz <mikegerwitz-mXXj517/[email protected]>
| Newsgroups | gmane.comp.gnu.screen.user |
|---|---|
| Message-ID | <[email protected]> |
On Sat, May 17, 2014 at 08:47:12AM +0100, Another Sillyname wrote: > which does work and shows the banner but also throws up a message... > > Attaching from inside of screen? > > I call a script from inside of /etc/profile that checks to see if > screen is started and if it isn't starts it before allowing the ssh > connection, my guess is that this is creating a one time loop? You can use `bash --noprofile`, but note that the profile config may also source ~/.bashrc; you can provide --rcfile to specify what configuration file to source; see bash(1) for more details. Of course, if the banner is output by /etc/profile or something that --noprofile suppresses, you may be better off just foregoing --login and using --rcfile, or even -c. -- Mike Gerwitz Free Software Hacker | GNU Maintainer http://mikegerwitz.com FSF Member #5804 | GPG Key ID: 0x8EE30EAB _______________________________________________ screen-users mailing list screen-users-mXXj517/[email protected] https://lists.gnu.org/mailman/listinfo/screen-users
signature.asc
(application/pgp-signature, 836 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAEBAgAGBQJTeBbyAAoJEPIruBWO4w6rzygP/jk/cDNEBiHckeZ6Px/ctHTp zxHVmG9YWnDpp6Lcjx9hPjvEf/ssP6xCpjvnBGKuS7MC4oMNhkYj7UM/lDXMi5eb E75/3SFpcU3ttk8qZJs+FV7DmjXA2fjx0Czei2LTF66c/mGraiyZx6NBMBYwO52N twy11UioybNFPRVM62Z9hvy7x98YTgVgxyHflbbjjKNeCBk3+oNQRCsnBe2iohaa iIYlt8AQ1FNweFrlQsRKS8itZIoowd+fUMyPPIgWjd+pr3DZVbrT2bUqH945kVWy 1u6yZURznPLk5/VJiD7lcsMfr1v6ywxDYGUc8w6LEDnuRRzqTx02fLhLjf87TbTX +ZiElt5q5/623S2rk1lYud9HPbZSQdAEW95efU1WigavhUeHY9A3/M3MbSd0Cit+ XtAQkiF7zFyleGjTzDyK3CjPLdbG/eZS54hxC5nnheJILeRxySsqxYsjxKMVBfHg p/p8akpG5pFHeKgIr0E9s7uxAhevndBgco6O7ykhsud+GkU0reTBSn4FHehk6ypV 2QLPvq6kNTfMOS3PT27o+TmlZhzw3z082MRW7ulAV69GB/BQ9R63mFBBjp7pnfKM otu8UuSEMx0g3f6/+srMTH8SBxFbRrdtgP/A1M8su37WLuwBk5SdSUTlYN6Qizgw 5qYumh0j0ed/owWFtvvg =eq0I -----END PGP SIGNATURE-----