Re: does fedora version of bash recognize SYS_BASH_LOGOUT?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/05/18 19:49, Robert P. J. Day wrote:
> so if red hat builds bash based on the source as it is, then that
> variable is still commented out and the man page is misleading.
> thoughts?


Both ~/.bash_logout and /etc/bash.bash_logout  are honored on my F27 system.

[egreshko@meimei ~]$ !ssh
ssh 192.168.1.107
egreshko@192.168.1.107's password:
Last login: Mon Mar  5 19:59:43 2018 from 192.168.1.18

[egreshko@f27gq ~]$ ls /tmp/me /tmp/universal
ls: cannot access '/tmp/me': No such file or directory
ls: cannot access '/tmp/universal': No such file or directory

[egreshko@f27gq ~]$ cat .bash_logout
# ~/.bash_logout

touch /tmp/me
[egreshko@f27gq ~]$ cat /etc/bash.bash_logout
#!/bin/sh

touch /tmp/universal

[egreshko@f27gq ~]$ exit
logout
Connection to 192.168.1.107 closed.
[egreshko@meimei ~]$ ssh 192.168.1.107
egreshko@192.168.1.107's password:
Last login: Mon Mar  5 20:00:29 2018 from 192.168.1.18

[egreshko@f27gq ~]$ ll /tmp/me /tmp/universal
-rw-rw-r--. 1 egreshko egreshko 0 Mar  5 20:01 /tmp/me
-rw-rw-r--. 1 egreshko egreshko 0 Mar  5 20:01 /tmp/universal


-- 
If simple questions can be answered with a simple google query then why are there so
many of them?

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux