sysadmin

What would be the simplest system to send sms from linux server?

What would be the simplest system to send sms from linux server? It`s a Debian system. There would be not much SMSes. What hardware and software to use? Maybe use some SMS sending service? ...

LINUX: Upgrading a production machine

Our production machines are running on debian etch. Now, they finally released lenny, the day will come we need to upgrade these systems. How can I do this with minimal risk? Are there any premises, preparations of fall-back scenarios and do I need a plan B in case something goes wrong? Besides the binary packages handled by the debian i...

On interface up, possible to scan for a specific MAC address?

I admit the linux network system is somewhat foreign to me, I know enough of it to configure routes manually and assign a static IP if necessary. So quick question, in the ifconfig configuration files, is it possible to add a post connect hook to a python script then use a python script to reassign a hostname in /etc/hosts and spawn off...

Append name of parent folders and subfolders to the names of the multiple files

I have folders and subfolders with 10K photos in them. Now I need to put all 10K files into one folder. I want to append the folder and subfolder name with the existing file name so that the file name becomes meaningful to me. I need help ...

Best practice updating a website

Hello, currently my work-flow is as follows: Locally on a machine I maintain a git repo on each website I am working on, when the time comes to publish something I compress the folder and upload this single file to the production server via ssh then I decompress, test the changes a move the changes to the live folder and I get rid of t...

Need help setup windows server 2008 SMTP server.

I am trying to setup windows server 2008 smtp server to relay emails to gmail smtp. Everything appears to be setup but it is not sending emails. Could you please help me figure out whats wrong. Below is the setup: Windows server 2008 with SMTP server feature installed. Need SMTP server to forward all messages to gmail smtp server to s...

Securely invoking commands with admin rights under Windows

I need to punctually invoque commands (net share, netsh...) requiring admin rights from a software launched by a user account. Under a Unix variant, I would install alongside my user mode software a small, cautiously written script bearing a suid bit and which would invoke the needed command(s). What is the equivalent best practice und...

Sql Server 2005 connection log

Hello, I have multiple databases on one SQL Server 2005 server. I would like to know a way using which I can see all the connections made to a particular database today and the activities performed. Thanks in advance Joe ...

What programming competences should a Unix admin have?

How would you assess a Unix sys-admin. What programming competences should a Unix admin have? ...

How is it possible that kill -9 for a process on Linux has no effect?

I'm writing a plugin to highlight text strings automatically as you visit a web site. It's like the highlight search results but automatic and for many words; it could be used for people with allergies to make words really stand out, for example, when they browse a food site. But I have problem. When I try to close an empty, fresh FF wi...

Should a web server's firewall block outbound HTTP traffic over port 80?

I understand the need for putting a web server in a DMZ and blocking inbound traffic to all ports except 80 and 443. I can also see why you should probably also block most outbound traffic in case the server is compromised. But is it necessary to block outbound HTTP traffic over port 80? If so, why? A lot of web applications these days ...

recoverable class Fbd error(s)

My server (an XServe xeon 8-core [harpertown arch]) has been spamming kernel warnings lately and I cannot seem to get any concrete information on what may be going wrong. Has anybody encountered such errors before? thanks in advance, |K< Apr 6 13:44:19 xserve kernel[0]: /!\ WARNING: 27006 recoverable class Fbd error(s) ( ferr = 0x3000...

Creation of solaris zone

For these part : zonecfg:[zone name]:net> set address= zonecfg:[zone name]:net> set physical= How do i know what kind of values i should set? I am using a vmware machine open solaris and current setting up a zone. I want to be able to putty in to that zone. Thanks ...

Where is source code for a Linux/Unix application most appropriately kept?

As a developer, I've often downloaded and run ./configure ./make ./make install to install apps onto my Linux system. But I've never been quite clear on the best place to keep the downloaded directory. My local Desktop is the default location, but I'd like to know what the best "official" place to keep it is. Also, does it vary by di...

Architecture for a machine database

This might be more of a serverfault.com question but a) it doesn't exist yet and b) I need more rep for when it does :~) My employer has a few hundred servers (all *NIX) spread across several locations. As I suspect is common we don't really know how many servers we have: more than once I've been surprised to find a server that's been u...

Why does the building from Binary files do not require Root access?

When I am in my dept's server, I cannot use commands such as "apt-get install nethack". I have to build the nethack from Binary files to get it working, at least so I have been told. I cannot understand the reason. Why do I need to build things from binaries? Why is the use of the commands, such as "apt-get", forbidden? Why do I not need...

Locking a specific command in cmd.exe

Can anyone recommend a way in Windows XP or later to make it possible for users to access cmd.exe while locking out the ability to use type? ...

PowerShell Script to Get a Directory Total Size

I need to get the size of a directory, recursively. I have to do this every month so I want to make a PowerShell script to do it. How can I do it? ...

Proper way to run a script using cron?

When running a script with cron, any executable called inside must have the full path. I discovered this trying to run wondershaper, when many errors showed when it tried to call tc. So my question is, what's the proper way to overcome this problem? Possible solutions: cd to the executable folder and prepare symbolic links to any othe...

How do I prevent SQL Server sysadmin users write access ?

I have created a test user that has sysadmin right in SQL Server 2005 (sysadmin, because i want to profile with this user name also).But i want to restrict that test users access rights to production database. It is under "logins" and also db name selected under the "User Mapping" tab of its properties with "db_denydatareader" default s...