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

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?
Jun
14
comment Is Native Language Support (NLS) kernel support still necessary?
In the case of filenames, it almost certainly wouldn't be.
Jun
13
comment Where do the .deb files go when I select “download only” in Synaptic Package Manager?
Or apt-get autoclean if you want to retain the debs of packages currently installed on your system.
Jun
8
comment How to fix “login: no shell: No such file or directory” when I can not even login?
And this would be why you should ALWAYS set the root account's shell to something basic that never gets undeleted, like sh or bash.
Jun
8
comment How to know if /dev/sdX is a connected USB or HDD?
How about not being insulting when answering a question?
Jun
3
comment “Input/output error” when accessing a directory
fuseblk means it's using the fuser filesystem-in-userspace method which is what ntfs-3g uses. So you're good in that regard.
Jun
2
comment “Input/output error” when accessing a directory
Don't "guess". Check -- you can see how everything is mounted by typing the mount command and looking at the output.
Jun
2
answered “Input/output error” when accessing a directory