5,508 reputation
1426
bio website perceptionistruth.com
location
age
visits member for 3 years, 1 month
seen 6 hours ago

Slightly geeky, overly cynical and delusional about my own self importance.


Jul
21
reviewed Approve suggested edit on Find out which modules are associated with a usb device?
Jul
21
reviewed Approve suggested edit on How to transfer data “offline” between osx and ubuntu?
Jul
21
reviewed Edit suggested edit on how to return to underlying script from tail -f
Jul
21
revised how to return to underlying script from tail -f
updated formatting and minor language corrections.
Jul
17
comment How to terminate a shell script?
What OS (or UNIX version) are you running this on. What does ps -ef | grep [scriptname] show you?
Jul
17
revised /usr/sbin/sendmail: Permission denied
updated info from comments
Jul
16
reviewed Approve suggested edit on Shell script to send an alert mail if disk usage exceeds 90%
Jul
16
comment How would you get all users history
This is getting into discussion territory so last one from me - my point isn't whether it's common, it's whether you need to include all cases. That's why I said 70% (random guess). What you're asking is actually much more complicated than it looks at first glance, because you're not in control of the source data in any way.
Jul
16
comment How would you get all users history
You are missing the point - I can choose to name my history file anything I like, so if you don't check the $HISTFILE value on a per user basis you can't find them.
Jul
16
comment How would you get all users history
Exactly, basically, you're (the sysadmin) not in control of how and where users record their command history, and as such 'locating all of it' is going to be very difficult. There are probably solutions which record command history outside of the shell functions, auditing tools and the like.
Jul
16
comment How would you get all users history
So if I change $HISTFILE in my session to ~/whateveh.out, then how will your find find it?
Jul
16
comment How would you get all users history
You're assuming that everyone is a) recording history, b) using the same shell and c) not changing the location of their own history. You'll need to either accept a 70% success rate on your approach, or you'll need to scan config files in every user's home directory, work out where (if) they are storing history and look there. Good luck.
Jul
16
reviewed Approve suggested edit on Unresponsive desktop after resume from hibernation
Jul
16
reviewed Approve suggested edit on Bash one liner to change configuration parameters
Jul
16
comment ssh from an unix server to a windows server (running Sysax) fails
I'm struggling to follow the exact commands you've used, can you add the exact commands, and which work and which fail.
Jul
16
revised ssh from an unix server to a windows server (running Sysax) fails
Tidied spelling and question title
Jul
16
reviewed Approve suggested edit on Why would the kernel drop packets?
Jul
14
reviewed Reject suggested edit on Missing/broken dependancies on OpenSUSE, normal?
Jul
14
reviewed Approve suggested edit on Iptables not forward traffic
Jul
12
reviewed Approve suggested edit on command tag wiki excerpt