Hi,
I used to rename file in Linux via a rename command:
rename 's/old_pattern/new_pattern/g' *glob
Is there something similar in Mac OSX (snow leopard)? Thanks
Is there a way either built-in (don't think there is) or via a third-party to specify the volume on a per application basis in Windows XP? For example, right now I am listening to some music on fairly loudly and I would like all of the alerts I am getting from other apps (email, twitter updates, IMs) to be reduced.
I have recently found an argument against disabling a root user login in Linux at http://archives.neohapsis.com/archives/openbsd/2005-03/2878.html
I assume that, if everybody uses a public key authentication, there's no risk at losing the root password.
Is it always better to disable the root login via ssh?
We have exchange running on one of our server here and there are 2 users connecting via outlook. The company has a generic Info@ email account and all users need to see this. I know I cant add a second exchange account to outlook so what are my options? Every user needs to see whats not been read whats been responded to etc.
Thanks
We have exchange running on one of our server here and there are 2 users connecting via outlook. The company has a generic Info@ email account and all users need to see this. I know I cant add a second exchange account to outlook so what are my options? Every user needs to see whats not been read whats been responded to etc.
Thanks
Can I migrate my existing physical WinXP environment (on a single c: drive) to a VHD via Disk2VHD and then run it on my new Windows 7 laptop as a virtual machine?
Was mucking around with OmniDazzle, and appropriately pressed every keyboard shortcut to see all the effects.
Unfortunately now, when I hover over 'another' window - it comes into focus without me invoking via a click.
Could someone please point me in the direction of what I changed?
Hello
I had installed mysql from the command line when I setup a local web server with custom modules on my snow leopard box. I recently discovered MAMP and its just easier to work with it than with the personal web server Apple has and via command like utils.
I uninstall ports completely but still see 'mysqld' in my Activity Monitor. I would like to uninstall this cleanly. Any tips?
Thank you.
Hi,
I have
Server1
Win2008 Storage Server
Running DFS
Access-based enumeration - off
Offline settings - disabled
Workstation1
WinXP SP3 32bit
Workstation2
WinXP SP2 64bit
I have a shared folder on Server1 on the DFS share.
Workstation1 can see all files and folders. Workstation2 does not. I have tested with multiple WinXP 64bit PCs and the same files across these machines do not show up. Going directly to the files via the address bar works.
I'm have trouble transfering files again from my work PC, which is a linux machine to my home windows PC.
My work has changed it so I now need to SSH twice before I can access my PC.
So I need to:
ssh [email protected]
password: xxxxx
I then need to do it again.
ssh computer_name
password: xxxxx
I've tried accessing directly via my computers IP but to of no avail.
Is there a way I can use pscp or file zilla to ssh twice so I can transfer files?
There are several questions here about disabling USB storage in general via GPO but I can find no information on whether it is possible to add exceptions for specific devices. Put another way, can USB drive types that include builtin encryption be enabled but generic USB drives disabled?
This needs to work on Windows XP.
I am having problems configuring ELB for my servers.
I start 2 micro instances with the exact same conf and try to do Load Balancing. However they never pass the health check (HTTP port 80 path:"/").
Ping is ok on the website. So is telnet on 80.
How did the health check works? Am I doing anything really wrong?
EDIT:
Both Direct browser access and GET (via curl) works correctly (status 200)
OK I'll be more specific - I have uploaded a bunch of folders via ftp. These now all have the the owner name of the account which I logged into FTP using.
How do I change the owner to be the server name?
and
How do I find out what name the server is using?
I'm pretty new to server permissions and the like, so please be gentle :) BTW, I'm using a linux server.
How can I reset the ACLs on a ZFS file system on OpenIndiana that is exported via NFS4 and replace it with inherited permissions? Basically, I want to do the equivalent of icacls "C:\path\to\folder" /reset /T /C on Windows on this machine. However, neither the chmod command on OpenIndiana nor the nfs4_setacl seems to allow for deleting all ACLs although the client correctly interprets inherited ACLs if a node does not have an own one.
I have a git repository in a directory inside of /home/raynes/pubgit/. I'm trying to use gitweb to provide a web interface to it. I use nginx as my web server for everything else, so I don't really want to have to use another just for this.
I'm mostly following this guide: http://michalbugno.pl/en/blog/gitweb-nginx, which is the only guide I can find via google and is really recent. fcgiwrap apparently isn't in Lucid Lynx's repositories, so I installed it manually. I spawn instances via spawn-fcgi:
spawn-fcgi -f /usr/local/sbin/fcgiwrap -a 127.0.0.1 -p 9001
That's all good. My /etc/gitweb.conf is as follows:
# path to git projects (<project>.git)
#$projectroot = "/home/raynes/pubgit";
$my_uri = "http://mc.raynes.me";
$home_link = "http://mc.raynes.me/";
# directory to use for temp files
$git_temp = "/tmp";
# target of the home link on top of all pages
#$home_link = $my_uri || "/";
# html text to include at home page
$home_text = "indextext.html";
# file with project list; by default, simply scan the projectroot dir.
$projects_list = $projectroot;
# stylesheet to use
$stylesheet = "/gitweb/gitweb.css";
# logo to use
$logo = "/gitweb/git-logo.png";
# the 'favicon'
$favicon = "/gitweb/git-favicon.png";
And my nginx server configuration is this:
server {
listen 80;
server_name mc.raynes.me;
location / {
root /usr/share/gitweb;
if (!-f $request_filename) {
fastcgi_pass 127.0.0.1:9001;
}
fastcgi_index index.cgi;
fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;
include fastcgi_params;
}
}
The only difference here is that I've set fastcgi_pass to 127.0.0.1:9001. When I go to http://mc.raynes.me I'm greeted with a page that simply says "403" and nothing else. I have not the slightest clue what I did wrong.
Any ideas?
A colleague just visited a site which had been hacked by the alescruf.c trojan virus, which infects HTML via embedded JavaScript.
Windows PC's are infected by visiting the site.
If my colleague has Windows Essentials, which detected and removed the trojan, is there anything else that he needs to do to make sure the virus is no longer active?
Windows Essentials detected the trojan within seconds of visiting the site, and he's running a full system scan to see if it still detects anything.
I accidentally disabled the administrator account on an install of Windows Server 2008 R2 via the net user command.
Now I cant get an elevated command prompt to re-enable the admin user, nor do any privileged operation that requires an admin password. Normally I would type in a password and click yes but there is no password field and yes is grayed out.
How can I re-enable the administrator account?
Is there a way I can determine if hardware virtualisation is enabled in Karmic? I know my processor is capable of it (from knowing it's an AMD Athlon 64 x2 & via something coming out when I type egrep '(vmx|svm)' --color=always /proc/cpuinfo), but I can't tell if I need to flash my bios to enable it.
I have tried installing gitweb via ssh and failed.
Below is what I get.
root@server [~]# yum install gitweb
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* rpmforge: ftp-stud.fht-esslingen.de
rpmforge | 1.1 kB 00:00
rpmforge/primary | 3.8 MB 00:19
rpmforge 10502/10502
Excluding Packages in global exclude list
Finished
Setting up Install Process
No package gitweb available.
Nothing to do
Anyone has any idea of what else is missing?
Is it possible to assign different background images to tabs in Conemu?
Console2 supports custom backgrounds per tab, and I'd like something similar to the functionality it provides.
Perhaps I can set this in Startup - Tasks or via the command line of a running tab, but I can't find any information on it.
e.g.
Tab1 cmd "cmd.png"
Tab2 powershell "ps.png"
Tab3 Visual Studio Command Prompt "vs.png"
Tab4 Admin:cmd "warning.png"
I have an application (.exe) which I am running via a scheduled task on Windows Server 2008 R2.
The task runs fine but when the .exe returns a non-zero exit code the task is still successful when it should fail.
I get this message:
Task Scheduler successfully completed task "\CustomerDataSourceETL - Whics" , instance "{a574f6b4-2614-413c-8661-bc35eaeba7cd}" , action "E:\applications\CCDB-ETL\CustomerDataSourceETLConsole.exe" with return code 214794259.
How can I get task scheduler to detect that the return code is 0 and fail the task?
In 'Messages' (inbox) view in Outlook 2007, there is a list of all messages (one liners) with several field. The rightmost field is the 'Flag Status' field.
I'm trying to move this icon to the left. All other columns are movable (via several methods), but this status icon is not.
How can I move it to the left of the headers line?
Hi,
Need to edit some of the local text files on my iphone but so far all the apps I have downloaded do not navigate the OS3 file tree for me to load and edit them. I need to do this on my iphone as I can no longer access via ssh or with the iphone cable. One of the files to edit is a ssh config file which is what is not allowing ssh connections. Any ideas on apps or other methods that I could use.
Thanks,
I am using Microsoft VPC running the supplied microsoft images to test IE6/7. The ip addresses that get assigned to these images are via dhcp and get valid ip addresses in my subnet. They can access the external internet just fine. However, they cannot ping my host machine, nor can my host machine ping them (using internal ip addresses). Thus, they can't access my webserver to test with.
How is this possible and how do I fix it?
I am trying to connect to my webserver via ssh but I can't. When I insert the password nothing happens . This is what I see:
# ssh [email protected][email protected]'s password:
. I have tryed with a wifi connection of my friend and it does work !!
So is it a router problem ?
What I have to do ?
I ran ssh in debug mode:
http://pastebin.com/2sWHMHSW
Please help :(