This object is in archive! 
add timestamps to the history format on cPanel installation
Completed
When troubleshooting a webserver, it can be very helpful to have timestamps in the bash history. It would be very helpful if the cPanel installer would set up timestamps in /etc/bashrc. It would also be nice to have timestamps in history for jail shell users.
After discussion with mary about the utility of this, this is planned for 11.48.
Here is what we're changing it to:
1 2014-09-18 11:48:43 sh latest
2 2014-09-18 11:48:43 vim /etc/cpupdate.conf
3 2014-09-18 11:48:43 vim /etc/cpsources.conf
4 2014-09-18 11:48:43 vim /etc/cpsources.conf
5 2014-09-18 11:48:43 sh latest
6 2014-09-18 11:48:43 exit
7 2014-09-18 11:48:43 vim /etc/cpupdate.conf
8 2014-09-18 11:48:43 vim /etc/cpsources.conf
9 2014-09-18 11:48:43 wget -N http://httpupdate.cpanel.net/latest
10 2014-09-18 11:48:43 yum install screen
11 2014-09-18 11:48:43 screen -S install
12 2014-09-18 11:48:43 exit
13 2014-09-18 11:48:44 histo
14 2014-09-18 11:48:46 history
After discussion with mary about the utility of this, this is planned for 11.48.
Here is what we're changing it to:
1 2014-09-18 11:48:43 sh latest
2 2014-09-18 11:48:43 vim /etc/cpupdate.conf
3 2014-09-18 11:48:43 vim /etc/cpsources.conf
4 2014-09-18 11:48:43 vim /etc/cpsources.conf
5 2014-09-18 11:48:43 sh latest
6 2014-09-18 11:48:43 exit
7 2014-09-18 11:48:43 vim /etc/cpupdate.conf
8 2014-09-18 11:48:43 vim /etc/cpsources.conf
9 2014-09-18 11:48:43 wget -N http://httpupdate.cpanel.net/latest
10 2014-09-18 11:48:43 yum install screen
11 2014-09-18 11:48:43 screen -S install
12 2014-09-18 11:48:43 exit
13 2014-09-18 11:48:44 histo
14 2014-09-18 11:48:46 history
Fresh!
Fresh!
not just what, but when!
not just what, but when!
We need this. Badly.
We need this. Badly.
After discussion with mary about the utility of this, this is planned for 11.48.
Here is what we're changing it to:
1 2014-09-18 11:48:43 sh latest
2 2014-09-18 11:48:43 vim /etc/cpupdate.conf
3 2014-09-18 11:48:43 vim /etc/cpsources.conf
4 2014-09-18 11:48:43 vim /etc/cpsources.conf
5 2014-09-18 11:48:43 sh latest
6 2014-09-18 11:48:43 exit
7 2014-09-18 11:48:43 vim /etc/cpupdate.conf
8 2014-09-18 11:48:43 vim /etc/cpsources.conf
9 2014-09-18 11:48:43 wget -N http://httpupdate.cpanel.net/latest
10 2014-09-18 11:48:43 yum install screen
11 2014-09-18 11:48:43 screen -S install
12 2014-09-18 11:48:43 exit
13 2014-09-18 11:48:44 histo
14 2014-09-18 11:48:46 history
After discussion with mary about the utility of this, this is planned for 11.48.
Here is what we're changing it to:
1 2014-09-18 11:48:43 sh latest
2 2014-09-18 11:48:43 vim /etc/cpupdate.conf
3 2014-09-18 11:48:43 vim /etc/cpsources.conf
4 2014-09-18 11:48:43 vim /etc/cpsources.conf
5 2014-09-18 11:48:43 sh latest
6 2014-09-18 11:48:43 exit
7 2014-09-18 11:48:43 vim /etc/cpupdate.conf
8 2014-09-18 11:48:43 vim /etc/cpsources.conf
9 2014-09-18 11:48:43 wget -N http://httpupdate.cpanel.net/latest
10 2014-09-18 11:48:43 yum install screen
11 2014-09-18 11:48:43 screen -S install
12 2014-09-18 11:48:43 exit
13 2014-09-18 11:48:44 histo
14 2014-09-18 11:48:46 history
Replies have been locked on this page!