The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
0answers
14 views

502 bad gateway after putting up firewall nginx

My server was working, then I added a firewall for a bunch of ports! And now I get the error: 502 Bad Gateway nginx/1.4.6 (Ubuntu) Nginx server { listen 80; server_name 45.79.80.140; ...
0
votes
0answers
11 views

is it a good idea to add administrative users in ubuntu's adm group?

The main motivation is to allow reading most log files (rsyslog) without sudo, provided that the have mode 640... Are there security drawbacks to doing this ? By "administrative users" I mean the ...
0
votes
1answer
220 views

Special key sequence to run cmd at Windows lock screen

I'm aware of the hack where you can copy cmd.exe to the program that launches the sticky keys GUI, thereby giving you command line admin access from the windows lock screen after pressing Shift seven ...
0
votes
0answers
90 views

how do I print, browse, enumerate, or traverse, the JNDI tree for Glassfish? ClassNotFoundException

I want to browse or print the JNDI for Glassfish, preferably with a tool of some variety, perhaps JNDI warrior. This sample code gives some output, but crashes: thufir@doge:~$ thufir@doge:~$ ...
0
votes
3answers
65 views

Two CPUs as a Single System

I don't know whether this is a foolish question or not. I have Googled a little and posting this one. Is there a way to make two separate dual core systems to run as a single quad core system under a ...
0
votes
1answer
409 views

Use command prompt to alter the local group Administrator policy for a machine remotely

Been trying to get the net localgroup command to work, but I'm not sure if it's possible to use it for another separate computer on the domain. Edit: It seems I forgot a key piece of information in ...
1
vote
1answer
130 views

Prevent partition from mounting in OSX Mavericks

In older versions of OSX the /etc/fstab was honored and I could put in mount options (in particular, "noauto"). I have some Carbon Copy Clone bootable backup partitions that I don't want mounted ...
1
vote
1answer
2k views

Where can I find a full list of Chrome's master_preferences?

I'm trying to programmatically disable password saving for Chrome, and my search has lead me to the master_preferences file. However, I can't seem to find any "master" list of every possible ...
1
vote
2answers
4k views

how to remove a screen (detached sessions) in unix?

I have been working in different screen sessions in past projects , hence have a few screen sessions accumulated. Now i have been asked to remove excess/unrequired screen sessions from the unix box. ...
1
vote
2answers
40 views

Difference in Logs

Is there a utility that will show you a difference in a directory of log files at one point of time and at the current moment? Current a method in debugging applications is to remove all of the logs ...
1
vote
5answers
4k views

Differences in /var/log/{syslog,dmesg,messages} log files

Which file for which logs are? What's the rationale?
1
vote
1answer
86 views

Mac OS X detailed system administration reference material

I've been searching for a while, and I'm struggling to find any decent reference material that explains how Mac OS 10.8 is configured with reference to things like init.d / launchd, where default ...
0
votes
2answers
94 views

Linux server user management system?

I have a web server running Debian. Up until now, I was adding all my users by hand: create their shell, ftp, mysql, svn, etc. accounts, with the correct privileges, create a folder in the web tree ...
0
votes
1answer
437 views

In gnu screen, how do you reload .bashrc in all windows?

I typically use about 10 windows in gnu screen and am constantly customizing my .bashrc. I would like to be able to source .bashrc across screen windows with a one-liner. Can I broadcast a command ...
3
votes
1answer
60 views

Systematic criteria for selecting a new hard drive for servers

I'm required to come up with a specification for a new HDD to be purchased for a server I admin. The current disk (purchased pre-installed in the system) already shows I/O errors (as evidenced by ...
2
votes
1answer
3k views

Find all duplicate files by md5 hash

I'm trying to find all duplicate files based upon md5 hash and ordered by file size. So far I have this: find . -type f -print0 | xargs -0 -I "{}" sh -c 'md5sum "{}" | cut -f1 -d " " | tr "\n" " "; ...
1
vote
1answer
70 views

Linux RHEL : Making disk image efficiently

I have a linux box having RHEL. Its disk (hda1) is having free space of about 25GB. I have an another disk (hda2) which is of 250GB having another RHEL instance, it's partitioned for 200GB. Data on ...
0
votes
1answer
265 views

Why is iftop using so much memory? Are there any tools that are powerful, but do not use so much memory?

pmap iftop_id b7fce000 4K rw--- /lib/ld-2.5.so bf9aa000 84K rw--- [ stack ] total 204940K The memory of the server is only 1GB, but iftop takes 204MB. It is crazy that iftop uses ...
0
votes
1answer
3k views

How can I find the processes which use the most memory? [duplicate]

Possible Duplicate: How can I display the memory usage of each process if i do a 'ps -ef' For example, how can I find the top 20 processes that occupy the most memory? My Linux ...
3
votes
1answer
217 views

Install rpm packages using file globbing with errors

I found a rpm feature. If you rpm install * and one of the packages fails to install then none of the remaining packages will be installed. Does anyone know how to use rpm to install packages with ...
14
votes
4answers
15k views

Users in /etc/passwd on Mac OS X

By examining the /etc/passwd I should get a list of all users in the system. However, when dumping the passwd file on Mac OS X I don't see my current username but many entries like these: ...
5
votes
2answers
4k views

How to extract RPM from RPM database in RedHat

Is there a way to extract an installed RPM from an RPM database on RedHat Linux to reproduce the original .rpm file?