5,693 reputation
1221
bio website
location
age
visits member for 4 years
seen 9 hours ago

Aug
25
comment Unable to capture trace with -w option
Do you know if eth2 has traffic on it? ifconfig -i can answer that.
Jul
27
comment Volume too quiet at maximum
I don't know the answer. I do know that manufacturers play pretty fast and loose with their printed specifications and speaker resistance, everything else being equal, should work in direct proportionality to current and voltage. But other things aren't equal and sound equipment manufacturers either a) like to hide these difference or b) don't know how to conveniently characterize these differences or c) like to play the marketing game of a bigger/smaller number is better/worse than another number.
Jul
21
comment How to make user passwords shown as a clear text in Linux?
@derobert fair 'nuff; I now see it as you intended and concur. (+1)
Jul
21
comment How to make user passwords shown as a clear text in Linux?
It may sound like I'm making an argument for security through obscurity. I was trying to argue that it is unwise to give teenage boys whiskey and car-keys with instruction in neither. But I may well have failed in that attempt.
Jul
21
comment How to make user passwords shown as a clear text in Linux?
It is my sense that if one has to ask "Is there a way … to save the password in the /etc/passwd in clear text and such that the root can see them?", then they lack the relevant understanding as to why they oughtn't. Of course, the OP could always implement the holes you enumerate, but it seems unwise to aid someone in bad practice (even if he could find the information elsewhere). The OP will likely never be your sysadmin, and I'm sure you use unique strong passwords religiously, but many people are not so enlightened; I'm sure there are others who are not so rigorous.
Jul
8
comment Locale not being set on initial login on Raspbian/Debian [SOLVED]
Please don't use pastebin when you could easily paste the text into the question directly. I fixed it for you. At least you didn't use screenshots as some new users like to do for simple text. ;)
Jul
8
comment Slow Linux machine
The OP doesn't say how long "too long" is, but as others above, I suspect that sshd is trying to inverse resolve the DNS name from the IP address of the ssh client and eventually times out because it fails. If this is what the problem is, none of your diagnostic commands will show anything because the resolver is just waiting for a timer to go off and is using almost no system resources (±0)
Jul
8
comment How to set default tabs only for cat?
@dotancohen I'm not sure what you mean by "wrap /bin/cat". See added above.
Jul
8
comment Port multiplexer sslh: why is it so resource-intensive?
The problem with sslh is an outright bug. I find it hard to believe that another program like sshttp would make the same mistake. Unfortunately, I have no interest in benchmarking port multiplexors; good luck.
Jul
8
comment How to monitor outgoing http requests per user?
If you are really looking for the source IP or MAC address, then this is best logged at the router. Do expect extraordinarily large logs: the front page of amazon.com sends 95 separate documents, whitehouse.gov sends 55, and cnn.com over 150.
Jun
27
comment sudo for users with empty passwords
You want accounts that have no password to be able to run any command as root? Why bother having passwords at all for any account? You can just chmod ug+x /bin/su because that's the net effect of your desire.
May
20
comment Which TCP congestion control algorithm is best for low speed radio modems?
That's what I mean about measurement of real networks: 25% packet loss is dreadfully underspecified and would need dispersion, burstiness, and so on to properly characterize. I maintain my guess about standard TCP being hard to beat for your capacity and mean loss rate.
May
19
comment Can TCP provide more than 65535 ports?
@Bryan I can't help but think the WhatsApp example you cite is akin to me claiming "I can encode real numbers up to about 1.8 * 10^308 in a 64-bit IEEE754 double". That statement isn't strictly false, but what is unstated is at least as important as that which is.
May
18
comment Difference between “.” and “./” while setting the environment variables using export?
Your use of the terminology is fine. Your error is in not understanding what the almost invisibly named shell built-in command . is for. The references that @devnull listed will enlighten you.
May
18
comment Can TCP provide more than 65535 ports?
While there is nothing that formally restricts you from wearing 65 pairs of trousers at once, it would be practical idiocy to try. If you can show me a machine that can fruitfully process 10'000 TCP ports concurrently, then this might be an interesting abstract question.
Apr
22
comment Error when constructing an associative array
If you are trying to program a game in bash for the sake of making things hard on yourself, rock on. If you are just trying to program a game, bash is a very poor choice of language for the task.
Apr
9
comment Increase brightness in a part of the display
If there was, it probably wouldn't yield satisfactory results. Either the illumination source is damaged or the lcd is, and will not be able to produce the same luminance or contrast as the undamaged part regardless of how you change the contents of the framebuffer.
Dec
6
comment Why can't I execute shutdown when the permission is rwxr-xr-x?
You won't see that in the strace output since it only reports system calls. You can infer that when a getuid is closely followed by writing the error message that the code was similar to if(getuid() != 0) printf("Need to be root");. Which in fact the source code shows it to be.
Oct
23
comment Setting time through GPS dongle
@Xufyan see "added" above.
Oct
23
comment EACCES that should not happen
+1 self-answers are good for StackExchange. I'm glad you found the fix (and my one complaint about SELinux is that it hides itself unless you know to ask about it (what do you mean you don't know ls -Z??? ;) )