Tag Info

Hot answers tagged

84

There isn't a great deal of difference between the two; 127/8 (eg: 127.0.0.0 => 127.255.255.255) are all bound to the loopback interface. The reason why is documented in the Debian manual here: http://www.debian.org/doc/manuals/debian-reference/ch05.en.html#_the_hostname_resolution Ultimately, it is a bug workaround; the original report is here: ...


22

To sum up the linked-to information: It is (debatably) useful to have an entry in your /etc/hosts translating the machine's fully-qualified domain name into its permanent IP address. debian-installer, and more specifically, its netcfg component, currently (up to March 2013 at least) creates this entry. If the machine is not known to have a permanent IP ...


22

Defaults The simplest method is to run a defaults command on the client Macs (easily pushed via Apple Remote Desktop): defaults write com.apple.SoftwareUpdate CatalogURL 'HTTP_URL_FOR_CATALOG' for a user. If you run it via sudo it will set it for whenever you use softwareupdate as root. The HTTP_URL_FOR_CATALOG has been changed with Mac OS X 10.6. If ...


14

Yes and no. Mac OS X doesn't have a unified registry like Windows; instead, it stores preferences in individual .plist files. When you execute a defaults write command, it stores the change in ~/Library/Preferences. As an example, the command to change the Dock from the 3D glass look to a more basic 2D shade is: defaults write com.apple.dock no-glass ...


11

For individual folders (My Docyuments, My Pictures, etc., the "Special Folders") I do the registry/GPO thing you alluded to. However, if I want to move the entire folder structure I cheat. Move the folder to a new location, and then create a junction pointing the old folder to the new folder. So all your programs will still think the folder is ...


8

I've spent a long time researching this and finally managed to do it on my own machine. There are two scenarios here: a new install, and a machine that is already installed/used. For a new install, you can (apparently) modify the autounattend.xml file (unresearched link here, no guarantees, I haven't tried) For a machine that is already installed, there ...


8

I think that you can try and use Software Restriction Policies (SRP) and deny access to "Program Files\Internet Explorer\iexplore.exe" to restrict IE. Also if you have Win2008 R2 as a DC and all of your clients have Win7, then you can use the new feature that is similar to SRP but much better and it is called AppLocker, which can also be found on the list ...


7

Windows 2008 has SSLv2 and SSLv3 enabled by default. To disable SSLv2 on Windows 2008 you may do the following: Create a key named Server under: HKLM\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\SSL 2.0 Create a DWORD value and name it Enabled ensure the value data is 0x0 Keep in mind that this setting only affects services and ...


7

Yep, put the following in a .htaccess file: DirectoryIndex default.php And that will apply to that directory, and I think all subdirectories. This assumes you're using Apache; other webservers may have other conventions.


5

The Secrets app will allow you to toggle some of the more well known default commands.


4

There is a database of these hidden settings at secrets.blacktree.com. They also offer a free PrefPane you can install to twiddle these (instead of cutting and pasting from the website into Terminal).


4

In order to have a system-wide configuration one has to run the following: sudo defaults write /Library/Preferences/com.apple.SoftwareUpdate CatalogURL "http://your.updates-server.lan:8088/index.sucatalog" In order to correctly work both on Leopard and Snow Leopard the right command to issue is: defaults write ...


4

Per this article from the Microsoft Knowledge Base: DriveLetter$: This is a shared root partition or volume. Shared root partitions and volumes are displayed as the drive letter name appended with the dollar sign ($). For example, when drive letters C and D are shared, they are displayed as C$ and D$. ADMIN$: This is a resource that is used during remote ...


4

You should have a look at HP's Web JetAdmin software. Its GUI will allow you to do mass configuration changes, create config templates, update firmware, audit your printer inventory and configurations, and much more. Its free -- and it does not require the UPD. Windows also provides a number of command line utilities, prncnfg.vbs, prndrvr.vbs, ...


3

/tmp is used by plenty of programs in a similar way already. On my system I can see the /tmp/orbit-$USER (used by Gnome's ORBit2) and /tmp/.X11-unix/ (Xorg and X11) directories with plenty of pipes, ehm, sockets, in them. I am sure there are also others, so I see nothing wrong with what you are doing. Just be prepared that since it is a world writeable ...


3

Deny access to iexplore.exe executable with file system rights. You might have problems with other windows components and it might be easier just to educate the users. The European releases of Windows have a non-IE and a non-MediaPlayer version.


3

There are a few tools that allow you to change these 'default' type settings from a gui interface, here are two: TinkerTool: http://www.bresink.com/osx/TinkerTool.html Onyx: http://www.titanium.free.fr/pgs2/english/onyx_leopard.html


3

Look at this microsoft article: How to create and delete hidden or administrative shares on client computers To delete a hidden share, follow these steps: In Control Panel, double-click Administrative Tools, and then double-click Computer Management. Expand Shared Folders, and then click Shares. In the Shared Folder column, right-click the share ...


3

It's my.ini on windows. ...and it should be structured like: [mysqld] max_allowed_packet=16M


3

Speaking for IIS... Am I correct in assuming that the uri-stem will always begin with a "/" Yes. (Although the field is named cs-uri-stem.) and that no other field ever will? No. Several other fields might begin with a "/", such as: cs-username (for a user whose name begins with "/", which is odd but perfectly legal) cs(Cookie) (perfectly legal ...


3

IIS binds to 0.0.0.0, port 80 by default. Assuming you've assigned the IP addresses to the IIS machine, the web site bound to "All Unassigned" IP addresses, port 80, with no host header specified will answer for all access to IP addresses on the machine that don't otherwise correspond to an IP / host header combination assigned to another site. By default ...


3

The DNS trick that Chealion points out is fantastic. I use it at our office, and every computer on our LAN will automatically pull the updates from the local repository at high speed without any configuration. Create the swscan.apple.com DNS zone on your internal DNS server, and have it resolve via an A record to your Mac OS X Server. On the ...


2

defaults write com.apple.iTunes AppleDisplayScaleFactor .75 Shrink iTunes to 75% normal size. It's off-topic, and not really that useful (unless you're using a small display), but fun enough that I can't resist posting it. It works for other apps too, e.g. To shrink Calculator.app by 50%: defaults write com.apple.Calculator AppleDisplayScaleFactor .5


2

defaults write com.apple.desktopservices DSDontWriteNetworkStores true Disables the creation of .DS_Store files on Network Shares.


2

Since your issue is not multiple IPs going to a single "All Unassigned" pointed site, is AAA.com set to use a Host Header, or is it just bound to that IP? If both AAA.com and BBB.com are pointing to a single IP for that server, and you aren't using host headers, then they'll point to the same site.


2

The only things I'm aware of it breaking are MS management software, like SMS and MOM. Even the howto KB above only gives a "microsoft recommends against", not terribly dire.


2

I came up with a really simple method for delivering software updates to all unmanaged macs on the network, with a minimal amount of hackery on a 10.7 lion server. make an A record in DNS as stated above, make sure swscan.apple.com is pointed at the IP for your server. add the correct entries for swcan.apple.com and swquery.apple.com to your servers ...



Only top voted, non community-wiki answers of a minimum length are eligible