Tag Info

New answers tagged

-2

Try route del default wlp2s0. Where wlp2s0 is the interface name. This command deletes the first default gateway on the specific interface you provide to the command.


0

From what I recall loginwindow:login is actually used in spawning the GUI login window, similar to builtin:policy-banner. So it is logical to be spawned before the rest of the actions. So the GUI window is the one that is actually irrelevant/bypassable, not the credentials themselves. What exactly would you like to modify and towards what purpose ? For ...


1

Neither of the above answers worked for me; probably something to do with Yosemite. The following worked for me: PYTHONPATH=/usr/local/Cellar/ansible/1.8.2/libexec/lib/python2.7/site-packages/ \ easy_install -ad ${PYTHONPATH} passlib After this, I was able to enter encrypted passwords into var_prompt's.


1

Never mind about the networking. It was not even close. The Bad address message comes from the kernel and indicates that a the process attempted to open a terminal (pty/tty) which does not exist. I'm not sure why adding sleep fixed the issue (unreliably), but going back to no-sleep version of my scripts and adding: Defaults !requiretty to /etc/sudoers ...


1

You can use KidLogger Application for this. It will log all user activities. You can create a cron to copy logs generated by KidLogger to local server. Download KidLogger


2

Go to System Preferences → Network, select your Wi-Fi service and click Advanced…. Enable Require administrator authorization to: Change networks.                                             This will then require the username and password of an administrator on the computer to change wireless network, however this does not prevent an Ethernet connection ...


0

Mac OSX DNS resolutions is funny. Here's the quick fix. Put this following code in a file name reset_dns. #!/bin/bash function get_pri_srvc_id () { cat <<EOF | scutil | \ grep 'PrimaryService' | \ awk -F': ' '{print $2}' show State:/Network/Global/IPv4 EOF } function get_srvc_name () { cat <<EOF | scutil | \ grep ...


0

Doing network configuration on OS X with ifconfig, route, etc doesn't work very well -- the problem (and solution) is that OS X has a separate idea of how the network should be set up, and a background daemon (configd) that applies that to the live network configuration. If you make manual changes to the network state, configd will overwrite them at random. ...


2

Yes, just connect two network devices directly with a cable (these days, it doesn't need to be a cross-over cable, thanks to Auto MDI-X ). Give them both IP addresses in an unused range (like 10.0.0.50 and 10.0.0.51). It should just work, without the need to add a route.


0

Disclaimer: I haven't tested this, and it's mostly taken this JAMF Nation discussion, with some additional notes from an old AFP548 article. You need to use the bless command (which is part of the standard OS X install). The simple format for configuring NetBoot is: sudo bless --netboot --server bsdp://${ipAddress} ... but unfortunately that only ...


1

Turns out that your private keys can't have a .pem extension. If I remove the extension from my private keys then they are successfully cached by ssh-agent. It's also necessary to have a matching public key with the same name but with a .pub extension.


5

The solution is to lock down who has the permissions to rename a domain-joined machine (modify permissions to Active Directory computer objects), and make sure those that do have these rights are careful/know what they're doing. By default, domain admin rights are needed to join a computer to the domain, or rename a domain-joined computer. A naming ...


0

Ah yes, the firewall defaults to allow connections only from the local subnet.


1

This is happening because you are using the -a option to rsync. One setting that '-a' turns on is '-g', preserve group. The folder or file you are transferring from the remote machine is owned by group id (gid) 100. On your machine, gid 100 is '_lpoperator'. You can verify this by runninggrep _lpoperator /etc/group. That will show the actual group id of ...



Top 50 recent answers are included