I wrote an article for a friends site, check it out: Guide To Easy Logins With SSH On Linux
I didn’t know that article writing took so long — the amount of writing, rewriting, critiquing, etc etc was a new experience. I’ll have to keep writing articles — teaching others is a good way to [...]
Posted on February 23rd, 2009 by Phil Dufault
Filed under: BASH, CentOS, Gentoo, Linux, Redhat, Shell, Ubuntu, Uncategorized, sh | 2 Comments »
Usually on Linux server, we have issues with logging the commands that our users are running, especially with BASH. BASH doesn’t log the commands as soon as they’re executed, and the user can do a number of simple things to prevent the log from ever being written to the disk, preventing you from knowing [...]
Posted on February 16th, 2009 by Phil Dufault
Filed under: BASH, CentOS, Gentoo, Linux, Redhat, Shell, Ubuntu, sh | 4 Comments »
While it’s easily cleared by a malicious person, this can easily extend the usefulness of your history file with the information of when you ran that command.
This works in bash v3 and up.
If you’d like to add the timestamping to all users on the machine, the file you’d want to edit is probably /etc/profile. If [...]
Posted on September 4th, 2008 by Phil Dufault
Filed under: Linux, Shell | 1 Comment »
Well, there’s been a few times that I’ve written a shell script that was really neat. Something that other people would have paid for a copy of. (I was too lazy to rewrite it in another language.) Up until now, I wasn’t aware you could compile a shell script, in the attempts from keeping people [...]
Posted on July 10th, 2008 by Phil Dufault
Filed under: BASH, Linux, Shell, sh | 1 Comment »