Questions tagged [system-administration]

Use this tag for asking about programs you have written to perform system-administration tasks. Non-programming questions about system administration are off-topic for Stack Overflow and should not be asked here.

983 questions
-1
votes
2 answers

Running SSH script on remote system - exit

I am running a local shell script on the remote Linux system using the following syntax: ssh -o PubKeyAuthentication=yes -o PreferredAuthentications=publickey username@servername 'bash -s' < localscript.sh I have not included any exit commands at…
gr8odinsraven
  • 143
  • 1
  • 1
  • 6
-1
votes
1 answer

windows - allowing remote desktop machine to access local files

currently i have two machines A and B... both are running WinXP. I am on machine A and using mstsc to connect to machine B. Now, how can i see from machine B the cdrom, usb, disk drives of machine A? even more if connect any usb to machine A can it…
-1
votes
1 answer

Directory has permissions drw-r--r-- 3 root root ("others" should be able to read it) but I can't cd to it as my user. Why?

Isn't this supposed to work? I changed the ownership to that of my user but it still says "Permission denied".
pldimitrov
  • 1,597
  • 2
  • 16
  • 21
-1
votes
1 answer

Linux: how to know who deleted my user account

I have a regular username on a linux machine. I also have the root privilege. Today I found my username was deleted. That is, if I logged in as root and then ran su myusername The systems said "myusername" does not exist. I checked file /etc/passwd…
-1
votes
2 answers

Non-installing MSI file

I am currently working on a tool for system administrators that can be used to update all clients of a Windows AD. It needs to work with Group Policy and SMS for the purpose of doing mass-updating. Therefore I need the tool to result in a MSI…
-1
votes
1 answer

Command Logs Ubuntu

Is there anyway that i can log all the commands that a certain user or user group has run in an ubuntu CLI. I need to keep a track of all the commands run by a certain group of users say UsrGrp1:usr1,usr2,usr3 as i'm running a Cluster of machines…
Milind Jindal
  • 176
  • 1
  • 7
-1
votes
1 answer

GPG error occurs while using "deb file:/local-path-to-repo ..." in /etc/apt/sources.list

I need to install packages within non-internet connection environment. My plan is to download dist structure from Internet and then add file path to /etc/apt/sources.list. So I download related structure includes ubunt/dists/precise,…
Chandler.Huang
  • 873
  • 3
  • 12
  • 24
-1
votes
1 answer

registry key for file and printer sharing in XP

i want the where the XP OS store the Registry entries for the file and printer sharing. Thank You,
John
  • 703
  • 7
  • 18
  • 37
-1
votes
1 answer

Name change of /dev/sdb4 to /dev/sdb5

I have a partition layout on Ubuntu 10.4 as sfdisk -l /dev/sdb Disk /dev/sdb: 121575 cylinders, 255 heads, 63 sectors/track Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0 Device Boot Start End #cyls #blocks Id…
snow04
  • 159
  • 2
  • 10
-1
votes
1 answer

eclipse port occupying error on startup

I am getting this error while starting eclipse. I am using eclipse on windows 7 "There is a process already using the admin port 4848 -- it probably is another instance of a GlassFish server. Command start-domain failed." I have searched and found…
khan
  • 2,664
  • 8
  • 38
  • 64
-1
votes
1 answer

How do you apply development practices like version control, testing and continuous integration/deployment to system administration?

Imagine you're going to manage a number of servers with a number of different services that's used by a number of people. Now say you want to reconfigure or replace some software on one of those servers. Obviously you don't want to work on servers…
user479911
-2
votes
1 answer

How do I create a crontab job in unix that will move all files in my home directory to another directory at a specific time/date?

Hello I'm new to Unix and I am trying to create a crontab job that moves all the files I have in my home directory where the name contains the letter f followed by a digit 1,3 or 7 to a directory called backups, on the 12th of April and November at…
-2
votes
1 answer

How to create an empty log or text file with Powershell using date or timestamp?

How to create an empty file with powershell, similar to "touch" on Linux, with a timestamp in the filename? not too different from: md5sum /etc/mtab > "$(date +"%Y_%m_%d_%I_%M_%p").log" although that file isn't actually empty, but it does have the…
-2
votes
2 answers

Dumb Linux SNMP question

I'm running Ubuntu and have snmpd running. I can do an snmpwalk: snmpwalk -c public -v 1 localhost .1 and I get back about 20 values (SNMPv2-MIB -- mostly system description/name/uptime stuff). Where are the memory, disk and network values? I've…
DougN
  • 4,407
  • 11
  • 56
  • 81
-2
votes
3 answers

How should timestamps in last output be interpreted on linux?

$ last -aid foouser pts/12 Sun Feb 15 07:30 - 15:23 (2+07:52) XXX.YYY.ZZZ.QQQ The Sun Feb 15 07:30 - 15:23 part is pretty obvious. The user logged in at 7:30 on Sunday. But (2+07:52) is unclear. 7:52 is the difference between the two…