5,912 reputation
1732
bio website perceptionistruth.com
location
age
visits member for 3 years, 6 months
seen 2 days ago

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


Jul
17
revised /usr/sbin/sendmail: Permission denied
updated info from comments
Jul
16
reviewed Approve 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 Unresponsive desktop after resume from hibernation
Jul
16
reviewed Approve 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 Why would the kernel drop packets?
Jul
14
reviewed Reject Missing/broken dependancies on OpenSUSE, normal?
Jul
14
reviewed Approve Iptables not forward traffic
Jul
12
reviewed Approve command tag wiki excerpt
Jul
10
reviewed Edit Disable Gnome on boot in Antergos
Jul
10
revised Disable Gnome on boot in Antergos
Antergos != Arch
Jul
10
revised File size conflict
added 83 characters in body
Jul
10
answered File size conflict
Jul
10
reviewed Approve Why do package managers need lock files?