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

0
votes
1answer
926 views

SFTP without password prompt (from linux to windows)

I'm using freeFTPd as a sftp server on windows machine. From my linux machine(ubuntu) I want to do a SFTP from to windows and i want to bypass entering password as i'm trying to do this with scripts. ...
-7
votes
2answers
101 views

History of the /etc directory [closed]

It seems like the /etc directory was added for anything that falls into the "et cetera" category of system files. To me that seems along the lines of "extra" or "unnecessary". Why is it that (in my ...
3
votes
1answer
269 views

How can I quickly install FreeBSD ports?

I am a Linux system administrator, so my knowledge of the specifics of FreeBSD are very literal, and not very thorough; I've been configuring packages and what not a for a few days now and every one ...
2
votes
1answer
453 views

How can the root password on FreeBSD 9.1 be changed for the system for the purposes of root logins?

I've never encountered this before when using FreeBSD, but I recently got a new BSD VPS, and when I logged in as a wheel user and su to root, I used "passwd" to change the root password, but this only ...
0
votes
1answer
46 views

Staying up to date with Bugs/Patches [duplicate]

Possible Duplicate: How to stay up to date with the latest information about UNIX software patches and upgrades? I am learning system admin stuff on the side at home for some near future ...
0
votes
1answer
100 views

make backup of file when user run rm -f [closed]

Here is the scenario; I need to authorize a user to do activity in /opt/dev-folder/. Developer makes frequent changes in file, some time they replaced or remove original file. I have assigned ...
1
vote
0answers
233 views

Error sh: line 9: 19705: Memory fault (coredump) in case of OpenSSH installation

I downloaded openssh-6.1.p1/tar.gz with http://mirror.corbina.net/pub/OpenBSD/OpenSSH/portable/. I made at first ./configure, then make which, it seems, fulfilled without errors (Nexenta Illumos ...
0
votes
1answer
457 views

GIT issue in AIX 6.1

I recently installed GIT 1.8.1 on my AIX 6.1 machine and am facing a few issues with it. Now if I login as root and issue git commands like git --version I get the response as shown : Code: git ...
0
votes
1answer
241 views

Cannot get exclusive lock on rpm database in Unix

I was trying to install a python rpm on AIX 6.1 and it was taking too long and so I had to close ther terminal. Later when I tried to install the same rpm as root I am getting the problem as : ...
1
vote
0answers
107 views

The steps to install service-network-ssh [closed]

My original goal was setup service-network-ssh on Nexenta Illumos. As a result of the command apt-get install service-network-ssh I got the following message Reading package lists... Building ...
2
votes
2answers
1k views

Cannot ping over LAN until a ping is received

I have two OSX machines on a local subnet. Pings from Machine A to Machine B consistently timeout until Machine B pings Machine A. After B pings A, A can successfully ping B, but this success is ...
0
votes
1answer
55 views

removing the 'www' in bind9 dns

I want to create a record in my zone file which, by default goes to my webserver when I type in "mydomain.com" as opposed to "www.mydomain.com" <-- working. can someone give me some pointers, I ...
0
votes
1answer
341 views

Securing PHP's exec and others

I'm currently setting up an hosting service and, for now, i'm very concern about security. Here is my situation : I've set up multiple apache's vhost and for obvious securoty reason, i don't want to ...
0
votes
1answer
99 views

Why is sar output not matching?

I am using sar utility for collecting and saving system activity information. After saving the information, I am seeing/reporting the information but the output is not matching. Can some one please ...
0
votes
1answer
96 views

unix malicious scripts/ksh execution

I'm wondering whether my architecture poses a security risk. Details: The whole website is not ROOT owned but still, the APACHE user used instead has some pretty advanced permissions. I have a ...
3
votes
3answers
226 views

Why do I have more users logged on than there are?

On an old GNU/Linux Ubuntu box I see something like lorenzo@metropolis:~ $ w 09:58:18 up 651 days, 19:30, 5 users, load average: 0.28, 0.30, 0.24 The problem is, I am logged on other three ...
0
votes
1answer
132 views

View multiple remote desktops at the same time in Debian [closed]

I would like to be able to view multiple remote desktops at the same time. All the machines are running Debian. Ideally, if I could get the view on a windows machine that would be perfect. However, ...
2
votes
2answers
96 views

Effective toy benchmark for a computer? [closed]

I wanted to do some (very rough) comparisons between different computers, seeing the relative compute performance of laptops and cloud machines (AWS EC2, rackspace, etc.). I wanted something ...
0
votes
1answer
210 views

Upload database backup from mysql to Amazon S3 or Glacier without creating local file

Is there a tool that makes possible to backup a Mysql database to Amazon S3 or Amazon Glacier without having o create a local file with the database contents? Something like that: mysqldump -u ...
0
votes
1answer
86 views

ssh remote execution always exits 127

quick question: I have a program that is spawning a process which executes a basic remote command over SSH such as: ssh aiden@host /bin/ps Running this manually from my shell is successful (as you ...
0
votes
0answers
279 views

Compile php 5.3 ldap extension

So trying to follow the very un-descriptive guide at my webhost for compiling a new php extension: **Compiling PHP 5.3 extensions You can also compile and load your own extensions. Here's how:** ...
0
votes
2answers
202 views

Unix VPS server going down at almost the same time every day

My server load seems to be really spiking and many times the server goes down at the same time each night (Around midnight). I have about 20 cPanel accounts hosted on it and have tried everything I ...
1
vote
1answer
447 views

readlink: illegal option — f

Recently the script was working fine, but from some days I'm receiving such message, while running the readlink -f "$0" command: readlink: illegal option -- f usage: readlink [-n] [file ...] I was ...
1
vote
1answer
265 views

NIS: which mechanism hides shadow.byname for unpriviledged users?

On some Linux box (SLES 11.1) which is a NIS client I can do as root: ypcat shadow.byname and get output, i.e. some lines with the encrypted passwords, amongst other information. On the same Linux ...
2
votes
3answers
3k views

pam_ldap.so before pam_unix.so? Is it ever possible?

we have a couple of servers with PAM+LDAP. The configuration is standard (see http://arthurdejong.org/nss-pam-ldapd/setup or http://wiki.debian.org/LDAP/PAM). For example, /etc/pam.d/common-auth ...
0
votes
1answer
58 views

SCO Unix 3.2.2: sysadmsh issues

When I type sysadmsh from the console prompt, it looks like this: The way it used to work is that the prompt would be in color and the lines would wrap correctly. I've had a couple of issues with ...
1
vote
1answer
104 views

Error when using mv

I am receiving an error when trying to mv some files that really doesn't make sense. I receive this error: mv: cannot move `thatDir' to a subdirectory of itself, ...
0
votes
1answer
35 views

Deleting a user in unix

Does deleting/removing a user automatically remove the user from all groups the user was a member in?
1
vote
2answers
478 views

Is it possible to export Windows event logs from multiple servers to a non-windows host, without running event manager on each of the Windows servers?

I want to export event logs from Windows to a non-Windows host. I was considering using Logstash, but that would seem to require that I install and run Logstash on each server. Is it possible to do ...
0
votes
1answer
71 views

Linux released memory

If My process allocates some big memory and then deallocates, would top or gnome-system-monitor show that my memory usage of that process decreased ? or kernel will still reserve that memory for that ...
0
votes
1answer
166 views

How to have supervisord follows the new unicorn process after USR2 rolling restart?

I have configured supervisord to track my unicorn server process. When I send USR2 process, this performs a rolling restart. After this operation the old unicorn master have restarted and then changed ...
1
vote
1answer
187 views

Client side certificates in client browsers with unix server for management

We are currently running Unix dedicated servers for everything (Web cluster, database, FTP, batch, ...) except for a Microsoft Active Directory Certificate Services. The sole purpose of this Windows ...
1
vote
1answer
119 views

Logging commands executed by remote shell scripts

I've noticed that when running a script that connects to a number of our servers (to essentially run batch commands) that the commands aren't logged in the user's .sh_history or .bash_history files. ...
1
vote
2answers
1k views

Understanding ulimit -u

I'd like to understand what's going on here. linvx$ ( ulimit -u 123; /bin/echo nst ) nst linvx$ ( ulimit -u 122; /bin/echo nst ) -bash: fork: Resource temporarily unavailable Terminated linvx$ ( ...
23
votes
3answers
2k views

Why is Linux reporting “free” memory strangely?

This is a canonical question about how Unix operating systems report memory usage. Similar Questions: Server refuses to use swap partition Memory Usage in LINUX I have production ...
1
vote
0answers
116 views

Limiting memory usage and mimimizing swap thrashing on Unix / Linux

I have a few machines that I machine that I use for running large numbers of jobs where I try to limit the number of jobs so as not to exceed the available RAM of the machine. Occasionally I ...
0
votes
1answer
231 views

Disk size and space detection

i'm running a server with debian stable : Linux myhostname 2.6.32-5-xen-amd64 #1 SMP Tue Mar 8 00:01:30 UTC 2011 x86_64 GNU/Linux It is running a nginx, mail server,ftp server and a mysql database. ...
0
votes
1answer
4k views

SFTP: Move (rename) many files from one folder to another (not one by one)

I need to move all the files from current_path to current_path/DestinationFolder. The version of SFTP I'm using is: SFTP protocol version 2 The available commands are: sftp> help Available ...
10
votes
3answers
201 views

*nix convention for storing user logs?

What’s a conventional log location for processes that run on behalf of users? ~/.foo/logs/ — my top choice but not super awesome /var/log/foo.uid/ — Non-system users can’t create directories here, ...
-3
votes
2answers
157 views

Create a public key to allow scp server to server

My scenario is this, I am trying to SCP from server1 to server2 and and I need to create a public_key on server1 to allow server2 access to it. How do I do this?
6
votes
2answers
354 views

Freebsd Secondary Group not allowing folder deletion

TLDR: I have a user that is a member to a group as a secondary group. This user can delete files with 664 perms as a secondary user, but not directories with perms of 775. Details: I have a user. ...
-6
votes
1answer
81 views

On Unix/Linux OS machines are showing less memory [closed]

Why on Unix/Linux OS machines are showing less memory (RAM) than it is? Let say i have Ubuntu machine whose have 1024 MB ram, when i open "System Monitor" "Resources" tab it shows 1001.2 MB. How i can ...
1
vote
3answers
1k views

What does S in linux file properties mean?

I'm creating directories and changing the permissions of them in perl with the following code: umask 0000; mkdir $path, 0770; chown $userid, $groupid, $path; Now when I do ls -l on a directory I've ...
11
votes
4answers
2k views

Available disk space on Unix/Linux OS

How to get available disk space on Unix/Linux OS, including unallocated space (which wasn't assigned to any partitions)?
1
vote
2answers
100 views

Resolving hosts on Unix and Window

Any Unix program (command) to connect to a domain uses a method 'gethostbyname' from RESOLVER. First thing what this method does is reading /etc/nsswitch.conf Where it finds a line: 'hosts: files ...
1
vote
1answer
62 views

Network connection on Linux

A general question about network connection on Linux : once a network connection goes into time_wait, is it still tied to the process ? Does it still use resources like say filehandle ? Reason I ask ...
0
votes
3answers
749 views

imuxsock messages in syslog and system becomes unresponsive

I am getting such messages in syslog. rsyslogd-2177: imuxsock lost 21869 messages from pid 3418 due to rate-limiting rsyslogd-2177: imuxsock begins to drop messages from pid 3427 due to rate-limiting ...
1
vote
1answer
118 views

How do I untar multiple archives from tape?

I have a tape with multiple tar files on it. I do not know how many (it was created by a third party and sent to me with minimal information). How do I untar all the files without having to repeat the ...
0
votes
1answer
171 views

Mounting device in fstab using labels

I'm trying to mount a device using a label in my fstab but it never actually mounts on boot. # LABEL=/ / ext4 defaults,noatime 1 1 tmpfs /dev/shm tmpfs defaults ...
4
votes
3answers
193 views

How to execute a command on multiple hosts using IPv6 only?

First of all there is pdsh which is essentially a parallel distributed shell which may execute commands on a list of given hosts. However, I find myself in an IPv6 only problem setting. It seems that ...