The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
17 views

Launch agent to run a .sh when it is added to a folder

I am trying to create a launch agent that will monitor a folder for when a .sh file has been added to it and run that .sh <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC ...
2
votes
1answer
25 views

Outlook 365 - How to automatically activate Auditing?

We're testing Office365 and are playing with the settings for reporting/auditing on OneDrive for business. We need to be able to see who has opened/edited/blah all files as all companies do for ...
0
votes
1answer
45 views

Windows 8.1 randomly went to lock screen - is it possible the sysadmin caused this?

I was using my work PC normally and it suddenly went to the lock screen. I did not touch the keyboard and I was using the mouse merely reading my e-mail in Google Chrome. Is it possible for the ...
1
vote
1answer
31 views

Install Java JRE using System- Level Configuration for Windows 7

I am installing Java's JRE using a batch script. The JRE version is jre-8u31-windows-i586.exe. When I run the script I get the following error: This is the command line call ...
0
votes
0answers
109 views

Enable Location services via command line in OSX 10.10

Any one know a way to enable location services through command line in OSX 10.10? I search the web and was able to find some stuff on 10.7 but does't seem to work in 10.10 launchctl unload ...
1
vote
1answer
90 views

How can I create Keychain entries via command line?

I am trying to use command line to automatically add passwords to the keychain app for various file servers. I was able to use the man security to figure out most of it. It’s creating the keychain ...
0
votes
1answer
20 views

How do I change Windows settings that a local administrator applied?

The user in question used to be a local administrator. I need to do the following: Remove any created VPN connections that the user would have created so that only their user account could access ...
1
vote
0answers
180 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
14 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
2k 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
186 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
67 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
658 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
168 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
5k 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 ...
2
votes
4answers
5k 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
43 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 ...
3
votes
4answers
6k views

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

Which file for which logs are? What's the rationale?
1
vote
1answer
91 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
111 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
548 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
61 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
73 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
322 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
254 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 ...
17
votes
4answers
18k 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
5k 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?