Unix is a multitasking, multi-user computer operating system originally developed in 1969 by a group of AT&T employees at Bell Labs.

learn more… | top users | synonyms

-3
votes
0answers
15 views

Suggestions for a Reliable Home NAS System [on hold]

I've been accumulating massive amounts of data for personal use. I was using an online file storage service for storing my files, but after that got shut down, I lost +5TB worth of unique uploaded ...
2
votes
1answer
46 views

Create a link to the Unix socket [duplicate]

Is there a possibility to create a hard link for an unix socket? I'm creating a jail and symbolic links won't work, so I'm looking for a solution, how to provide an unix socket inside chrootted ...
1
vote
3answers
39 views

How do i change the global login shell on a unix system?

I want to set the login shell (the shell they get when they log in) of all existing and future users. The correct way to change the login shell seems to be chsh. But this only allows me to change the ...
0
votes
2answers
40 views

Environment variables are unavailable when running scripts over ssh

Suppose I have two hosts: A and B with users a and b. B is Windows machine with Cygwin installed, if this matters. B is configured to be accessed from A through SSH without password (it contains A's ...
2
votes
1answer
47 views

How can I make my own linux distro? [closed]

My question is bit off-topic or may be impractical. The thing is, on the web too many material available to download customized linux distro. But what if I want to make my own linux distro ? ...
0
votes
1answer
36 views

Saving SSL password for SVN in Ubuntu

I have tried to set up my SVN that way, that it saves my passwords, but for some reason it won't work. I am using a SSL certificate, for which I need to provide a password every time. I have tried ...
0
votes
0answers
15 views

Process identifier mask in z/OS

I've noticed a curious pattern to process identifier numbers on the z/OS system I'm working on (uname reports it as OS/390), they're either 1-4 digits long or 8 digits long but never in between. The ...
0
votes
2answers
23 views

Using Jenkins to access mysql files on the same instance

I have a Jenkins installation and running mysql server on the same box. One of my jenkins jobs is supposed to tar up the /var/lib/mysql folder but I get the following error tar: ...
1
vote
1answer
21 views

How do I accept two different types of network connections using iptables

I need to setup iptables for a mongodb database server, such that it allows only two types of INPUT connections: one connection to port 27017, monogdb's default port, from our main web-app one ssh ...
0
votes
3answers
79 views

Exclude with the find command [duplicate]

I need some help getting the find command to work right in a script working on. I need to be able to exclude some directories. Below I have what I'm doing as a work around. sudo find / ( -name ...
1
vote
2answers
49 views

How do I show listening open ports from the shell?

I always have to google this and ServerFault is never the first result. Typically I want to do this on a unix box, but I'd also like to know how to do it on a Windows machine from CMD.exe.
0
votes
2answers
75 views

CPU usage command for monitor script

Is there a command for FreeBSD (except the top -P) I could use to monitor my dedicated server CPU usage? I am in progress of writting my bash script which will notify me as soon as any of the CPU core ...
1
vote
1answer
24 views

Viewing the packet-size of an incoming IP

I have been looking for a sulution to this for a few hours. after no avail im asking for help here. I need to watch my incoming packets by Size. in a format similar to: IP SIZE I have tried ...
1
vote
1answer
33 views

Can sftp check for existing data?

I have 700 binary files (pdf) to download and right now only 400 are available on a sftp server. Can sftp, from the cli, determine what files exist in the local directory so it doesn't need to ...
2
votes
1answer
115 views

Can't log in to FTP on Debian with vsftpd

Linux noob here so please bear with me :) I'm trying to setup FTP access to my Apache server but I'm receiving a 530 Login Incorrect error. I installed the vsftp package via sudo apt-get install ...
0
votes
2answers
44 views

How to block rejected messages I did not send?

In exim mainlog I see a lot of rejected messages I did not actually sent (they were send from spammers). 2014-02-20 23:42:47 H=a94-132-158-40.cpe.xxxxxxx.pt (zonhub) [94.132.xxx.xxx] ...
0
votes
1answer
61 views

dmesg time vs system time time isn't correct

I hope that here is somebody that can help me with this strange problem. I think that i know why it is happening but i don't know how to solve it. Maybe it is because the BIOS time isn't set correct ...
1
vote
2answers
86 views

How do you tell if a user is “allowed to log in” on Linux?

The question is simple, I want to list all the user accounts which can log in to my system, but I'm not sure if that all the users in /etc/passwd are "could login" users? Details: I can see users ...
0
votes
2answers
65 views

Portforwarding with IPTABLES and Remote IP detection

I was able to forward 80 port from my primary server 192.168.90.1 to the second one 192.168.90.2 with IPTABLES The primary server has a public address X.X.X.X so I forwarded X.X.X.X:80 -> ...
0
votes
2answers
68 views

SSH connection timed out

Every time I try to ssh into my computer from my chromebook $ssh -vvv user@***.**.***.*** I get the following output OpenSSH_5.2p1, OpenSSL 1.0.1e 11 Feb 2013 debug1: Reading configuration data ...
1
vote
1answer
42 views

How to delete special character in linux

By mistake I made a file with the name \. How do you delete something like that? I've tried rm --\ rm "\" rm -- -\and nothing seems to work. I bet it's so simple but I'm stumbled - any suggestions?
0
votes
1answer
22 views

Fix Solaris 11 GNU tools location for RVM

I am trying to install RVM on a Solaris 11 system, the curl -sSL https://get.rvm.io | bash -s stable went through, but when I actually try to use rvm, it simply stats "ERROR: Missing GNU tools: grep ...
1
vote
2answers
98 views

SSH Tunnel or Reverse Tunnel

I'm trying to establish a SSH tunnel to allow VNC/ARD connections (ports 5900 and 3389). However I'm uncertain about a certain thing: Let's say machine A has IP 192.168.103.1 and has services running ...
1
vote
1answer
36 views

Windows process management tools

Unix has tools like upstart, angel, god, etc to keep processes running constantly on system start and can restart processes that have failed. Does windows have the ability to do this natively?
12
votes
3answers
249 views

Is there a mechanism in Unix (or Linux) to stop an in-progress core dump?

Let's say a (very) large process is crashing and dumping core, and we know the cause from other information (possibly an assert message, maybe something else). Is there a way to stop the core dump ...
-1
votes
1answer
83 views

KVM-Host OS recommendation [closed]

I am about to migrate a server installation (one OS) to a newer hardware and wish to enable/use KVM. So the hardware is fixed (https://www.hetzner.de/hosting/produkte_rootserver/ex40) , now I got the ...
-2
votes
2answers
35 views

How to block access to a local user to a local port?

How to block access to a local user to a local port? Example: user Elvis should not have access to the port 25600 on the same server.
0
votes
2answers
74 views

Control IP to access a server , which use iptables

I would like to use linux command iptables to control to only allow the same subnet IP to access a server , what I would like to do is to allow any services from 10.168.1.0 to this server , could ...
21
votes
5answers
2k views

Can a program tell it is being run under sudo?

I have a program that should behave differently if it is being run under "sudo". Is there a way it can find out if it was run under sudo? Update: Someone asked why would I want to do this. In this ...
0
votes
0answers
60 views

Samba suddenly not working- The specified network name is no longer available

I have a Samba server and a windows server that access a share on the linux samba server. For some reason, this single server has stopped being able to access the samba server. When you access the ...
2
votes
2answers
53 views

redundancy in a single SCSI target

following-on from my earlier question about resurrecting an ancient Intergraph 6800 machine (licence file for extra logins on ancient Unix (CLIX) system), the original problem was a failed hard disk ...
3
votes
0answers
81 views

licence file for extra logins on ancient Unix (CLIX) system

I'm helping to sort out an ancient Intergraph 6800 machine at work, running CLIX, a proprietary Unix. Binning the system is not an option. It is a certified safety-critical system that would cost ...
1
vote
0answers
27 views

Mac OS 10.6.8 Firewall Blocking Wiki for ONE User

This is a very bizarre issue that I hope someone can help with. We're running 10.6.8 server to host our internal wiki. We had the firewall enabled on that machine without any issues. Last week one ...
0
votes
0answers
43 views

Write failed: Broken pipe even if I use ServerAliveInterval?

This is my ~/.ssh/config file - Host 10.2.1.1 ServerAliveInterval 120 ProxyCommand ssh 10.1.1.1 nc -w1 10.2.1.1 22 I've configured it so that I can bypass the jump server each time I need to ssh ...
1
vote
0answers
30 views

Is there a way for a user to temporarily remove its own group membership within a script?

I'm writing a script which will be used to "detect" whether a generic, no-frills, user account has access to certain files. Basically a user which only has membership in the "staff" group or ...
1
vote
0answers
67 views

rsyslog logging same data to multiple files

I'm new to configuring rsyslog for centralized logging and was wondering if one of you experts could help me with the following problem. I am trying to store logs for each remote host to a per host ...
0
votes
2answers
292 views

How to kill the process using the name of the program instead of PID?

I started my Python program in the background using nohup as mentioned below - nohup zook.py & Now I am trying to kill this process so I did the ps command as mentioned below ...
1
vote
2answers
66 views

How do I iterate bash arrays and make an SCP command efficiently?

I need to scp the files from machineB and machineC to machineA. I am running my below shell script from machineA. I have setup the ssh keys properly. If the files are not there in machineB, then it ...
8
votes
4answers
394 views

Linux cd .. command

Say if I need to do this a lot: cd ../../../../foo/sub1/bar/dest/ cd ../../../../foo2/sub1/bar/dest/ cd ../../../../foo3/sub1/bar/dest/ cd ../../../../foo/sub1/bar/dest/ Is there any faster way to ...
0
votes
2answers
98 views

Logging ssh info using syslog-ng daemon in Cygwin

I have setup the syslog-ng daemon using Cygwin in Windows 7. What I want to do is to log all of the ssh failed passwords, etc to /var/log/sshd.log. I tried to do this by adding the following line: ...
3
votes
0answers
62 views

ISC DHCPD memory leak solutions and or workarounds

Background: I have recently been put in charge of finding the root of and/or fixing a memory leak with an ISC DHCPD (4.2.5-P1) installation on a Debian (Lenny) Unix server. I have been researching ...
0
votes
0answers
29 views

web server apache installing and modify interfaces on which server is listen

I have to install a web server this way every user on the system can hosts a public site of his. The web server is Apache but before I continue I need to have installed the package with version ...
-1
votes
1answer
40 views

Https not working JBoss AS 7.0.2

I am trying to load SSL certificate to one of our site. We are using JBoss AS 7.0.2 for our application on Ubuntu Server 12.04, it's running successfully on http while on https it's not responding. ...
-1
votes
2answers
54 views

How to transfer file(s) from a Unix system to a DOS system? [closed]

What is the simplest way to transfer files from a Unix system to a DOS system? Preferably without any "extra" tools on the DOS side.
0
votes
0answers
37 views

Balancing server bandwith

I am working on a file uploading website. It will be run on dedicated server with 1GBPS connection. I wanna offer visitors max download speed possible at the current moment. So lets say server can ...
1
vote
1answer
30 views

cp/rsync command with destination as symlink to a directory

I am working on a cPanel backup solution at the moment. We are now informed about this exploit. Exploit : Full ROOT ACCESS to server 1.) create malicious file from, normal user account: mkdir root ...
0
votes
1answer
24 views

Multiple VirtualHost Configuration files in Apache2.

I have servers with RHEL-5, Apache-2.2.22, PHP-5.3.25 I know I can configure multiple virtualhost configurations in mutliple file by including these files in httpd.conf. Can Apache support this ...
0
votes
1answer
51 views

Optmize server access for LAN and WAN (Internet Access)

I am trying to optimize my server so that accessing the local network as well as the internet. The OS is Solaris 9 running on a SUN V210 Connecting outside takes a long time, with sometimes there is ...
2
votes
2answers
126 views

RHEL 5 list missing critical patches/packages

Im trying to figure out if there is an easy way to identify the missing critical patches/packages on my RHEL5 boxes. This is for audit purposes and was trying to figure out if there was an RPM command ...
5
votes
2answers
126 views

Trying to delete a directory stored on a Windows server, from on a Mac, containing files created on the Mac, getting “Directory not empty”

I am trying to delete a directory stored on a Windows 2008 R2 server, mounted on a Mac as network home (10.8.5). The directory was created by Safari and stores temporary internet files. I need to be ...