1,227 reputation
79
bio website
location
age
visits member for 5 years, 4 months
seen Dec 16 at 20:21

Nov
26
awarded  Caucus
Aug
11
awarded  Yearling
May
15
comment send files to dozens of servers quickly
This was an operational problem for me. I implemented a distribution tree for an enterprise NIS space that had over 200 slave servers being pushed from one master. The hourly update was taking over two hours... I added a servers NIS map (key=server name, value = update_responsible_server). With a fanout of about 8, we had update time under two minutes. By making small mods to the existing NIS distribution scripts, design, test, and implementation took less than a day.
May
4
comment How to hide a password passed as command line argument?
@tonny All Unix-like systems, and Windows, too, and all other OSes that I know of have ways to pass information to running processes besides the command line. It isn't the OS, its the way that daemon was written
May
2
comment How to hide a password passed as command line argument?
@Tonny - it's not the Operating System; there are ways to solve this in every OS I know of. It's the particular daemon OP is running
May
1
answered Is it possible to produce an unfair ethernet NIC?
Apr
23
awarded  Informed
Apr
22
comment Cannot remove or list directory (ls or rm) Linux - Debian
If you use ls -f it should report the directory entries as they are found, without trying to sort. Used for precisely this kind of situation.
Mar
25
comment I accidently gave all my project files a .gz format, how to revert it?
I'd use basename $file .gz instead of sed, but the same approach
Feb
14
awarded  Critic
Feb
14
comment Does /etc/fstab need to be world readable?
The second paragraph, in particular, shows a lack of experience with this kind of on-line help forum. Many people (including myself) have thought of a poor solution to a given issue and gotten stuck on step 5 - actually explaining the overall issue allows people to point out better solutions that may bypass the initial specific question.
Jan
22
comment Root can only change a file
What are the containing directory path permissions? If the new user can delete and recreate the file, the existing file permissions are useless. The 600 permissions will prevent non-root users from viewing (assuming you've done the chown as well).
Oct
29
comment Long string insertion with sed
Well, ex is like vi for the command line. ed is a predecessor
Oct
28
comment “short” when testing an ethernet cable which is not connected to anything
@xirtyllo but is there a crimp or cut?
Oct
11
comment cannot delete file with rm -rf
You can use clri and then run fsck
Oct
11
comment How can I block this traffic I see in wireshark?
TCP is never "one-way communication". If you want to accept incoming data and not provide any ACK or outgoing packets, you'll have to use some other protocol, probably UDP.
Aug
12
comment run script as another user from a root script with no tty stdin
You want to also unset variables that are not part of the training environment. I'd use "su training /bin/sh -c ". <set up environment>; runcommand". That works for me for setting up system services.
Aug
11
awarded  Yearling
May
22
comment Best way to go about changing a root password on 3000+ Solaris, AIX, and Linux servers?
I believe editing /etc/shadow is the way to go. However, won't the redirect wipe out /etc/shadow before the edit? This looks like a case for ed or ex.
Apr
12
comment How to calculate total / max electricity consumpton for a server / or hardware equipment.?
Nameplate power ratings are maximums -- the typical power draw will be less, depending on your loading and usage pattern. The most reliable way to check is to use a power meter to measure your actual consumption.