Reputation
8,534
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
4 21 40
Newest
 Enlightened
Impact
~1.1m people reached

Jul
17
answered How to check from a command line that network is reachable?
Jul
17
comment Where does gnome-session/gnome-shell store its configuration?
Thanks for the reminder; looks like my actual problem is in gnome-shell rather than gnome-session. Question edited.
Jul
17
revised Where does gnome-session/gnome-shell store its configuration?
Slight correction.
Jul
16
comment Why does SCP hang on copying files larger than 1405 bytes?
If his solution worked, you might want to accept his answer as valid so he gets the bounty. :)
Jul
16
comment Where does gnome-session/gnome-shell store its configuration?
Yes, but that'd nuke the settings for all sorts of other programs I am still using.
Jul
16
asked Where does gnome-session/gnome-shell store its configuration?
Jul
3
comment Is it possible to change password database file(/etc/passwd) in linux?
Just want to point out that despite its name, /etc/passwd does not in fact contain the actual passwords or even the hashes -- shadowed passwords have been a de facto standard since before I started using unix two decades ago.
Jul
3
comment Is it possible to change password database file(/etc/passwd) in linux?
3. spend the rest of that system's lifetime dealing with the occasional breakage of random other stuff that expects /etc/passwd to exist...
Jul
3
comment What are the recommended ways of defending a remote *nix install from a hamfisted admin?
Backups, backups, backups. And use sudo for that slight additional edge of asking for your password again before executing a command.
Jul
2
answered I require some help with traceping
Jun
27
answered Why Debian CD has 52 CD
Jun
27
comment I cannot install new packages: “Could not get lock /var/lib/dpkg/lock”
Either that or one of the above frontends was /very/ rudely interrupted mid-install and its dpkg backend was still hanging on to the lock. Can sometimes happen running aptitude remotely and losing connection while dpkg was waiting for user input (eg, to tell it what to do with a modified config file)
Jun
22
comment Where do the files go if you mount a drive to a folder that already contains files?
They don't "go" anywhere. You just can't see them.
Jun
14
comment How do I run a program only once per day, while accounting for variable uptime and possible failure of program?
Yeah. Check my answer for a possible solution.
Jun
14
comment How do I run a program only once per day, while accounting for variable uptime and possible failure of program?
Wouldn't this also be vulnerable to TOCTTOU? Also, I admit that the OP isn't entirely clear whether he wants the program to try once per day until it succeeds, or to succeed once per day. If the latter, your answer's better.
Jun
14
revised How do I run a program only once per day, while accounting for variable uptime and possible failure of program?
added 3 characters in body
Jun
14
comment How do I run a program only once per day, while accounting for variable uptime and possible failure of program?
Ah, point taken -- but in this case, seeing as how we're not actually doing anything with the file except checking for its existence and creating it if it doesn't already exist there's an extreme limit to any possible shenanigans you could get up to with the exploit. I'll amended the answer to add -a to the touch command to limit it even further.
Jun
14
comment How do I run a program only once per day, while accounting for variable uptime and possible failure of program?
TOCTTOU being--? Sorry, not familiar with the acronym.
Jun
14
answered How do I run a program only once per day, while accounting for variable uptime and possible failure of program?
Jun
14
comment How do I run a program only once per day, while accounting for variable uptime and possible failure of program?
So basically, what you want is for the program to try something once a day until it succeeds?