Questions tagged [unix]

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

Excerpt from the Wikipedia page

Unix was originally written in assembly but has since been rewritten in C. It has been branched many times both commercially and open source. One popular variant is the BSD variant which originated from the University of California, Berkeley. It also gave rise to Linux.

Notable variants

  • Silicon Graphics - Irix
  • IBM - AIX
  • Sun Microsystems - Solaris
  • Hewlett Packard - HP-UX

Unix is officially trademarked as UNIX.

Unix on Wikipedia

1949 questions
0
votes
1 answer

supervisord - automatically kills its spwaned processes

I am a new bee with Supervisord. And I am on Ubuntu. My problem is, I have a script to spawn java process using "exec java -cp ....." as the only line in the script. This particular java process is a non-daemon process that runs for infinite time…
0
votes
1 answer

How to do REORG command on DB2

I want to reorganize(offline) some db2 tables. Also I want to executing runstats command after reorg command. I have a question. Do I need to stop db2 database or deactivate or both of them before executing reorg command?
tekun
  • 3
  • 5
0
votes
0 answers

Postfix+saslauthd: pam_unix(smtp:auth): authentication failure

I'm run postfix 2.10 + Cyrus sasl 2.1 + Dovecot 2.2 on Oracle Linux 7. Dovecot works with saslauthd normally, but Postfix always failed on authentication, wish someone can help to check what problem it is. The testing steps as below: telnet tiger…
Yun Wang
  • 1
  • 1
  • 2
0
votes
1 answer

How to add dynamic code/ruby code inside .conf file

I'm using Sphinx search engine for my application, and I would like to add ruby code inside the sphinx.conf file to update some values dynamically based on my application server hostname? Is it possible to execute the ruby code inside sphinx.conf?…
loganathan
  • 240
  • 2
  • 13
0
votes
3 answers

Pointing 2 urls to the same site on nginx server

We have this website that works well already, but I was put to the task of pointing another url to that very same site. The idea is that two urls will show in the address bar, but just one site will be on display. I added an A-record to my DNS…
Matt Cremeens
  • 103
  • 1
  • 6
0
votes
4 answers

Filesystem full with 'df' but seems actually not

On my AIX 6.1 server, i have a problem on a VIO LPAR. A filesystem seams to be full with the 'df' command, but not with 'du' or 'ls' for example. I searched but I don't understand where the problem comes from. The 'df' command shows : [root@VIO2]…
cd25_flo
  • 1
  • 1
  • 1
0
votes
1 answer

Understanding / in crontab

I have found the following entry in our crontab, and wanted to make sure that I have interpreted it correctly: 0 */2 * * * [some command] I am assuming that this means run the command twice a day on the hour. i.e. at 12:00 and 00:00. Assuming this…
paul frith
  • 101
  • 4
0
votes
2 answers

Can I copy id_dsa keys?

I generated id_dsa key (ssh key) for my client, and then copied them over to authorized_keys. And it works. Is it possible to copy these Keys to another user account, so I don't have to re-create these keys?
Alex
  • 8,471
  • 26
  • 75
  • 99
0
votes
4 answers

No longer have to enter a password to SSH into another server?

For some reason, I have a server that if ssh into another server...you don't need to enter the password. How is this done? Can someone give me step by step instructions please?
Alex
  • 8,471
  • 26
  • 75
  • 99
0
votes
2 answers

How to do SSH with -i option and bypassing password entry

Using ssh, I want to access Machine1 --> Machine2 Let's say Machine2 has IP address: 133.165.14.22. I have copied id_rsa.pub from Machine1 to Machine2 Then in Machine2 I have already did this: cd ~/.ssh cat id_rsa.pub >> authorized_keys But when…
neversaint
  • 103
  • 1
  • 1
  • 5
0
votes
1 answer

Packet Sniffer to dynamically create iptables rules

On a router running unix I wish to make monitor all outgoing packets, of these packets I want to temporarily white list IP addresses I am connecting to, to both send and receive. Basically to create a pinhole in a firewall that normally would drop…
user134840
0
votes
3 answers

How to output column with special patterns

I have a column, with some words: scatman batman superman scatman scatman batman superman scatman scatman batman superman scatman batman WWWWWWWW superman scatman batman superman scatman I should make some patterns, where i need to have word by…
Valeriu
  • 57
  • 2
  • 9
0
votes
1 answer

Unable to confirm timezone while setting crontab for different unix users

On our production server, UCT timezone has been set for server i.e. for root user but for local technical user different timezone is set in .base_profile. I want to set cron as per CET but server timezone is UCT and I am unable to confirm what…
0
votes
1 answer

Terminate watch command after run completes

I'm using watch in a screenwindow to continually execute a PHP task which processes data every two seconds. Thus, I can logout of the server with it running and can check-in on it. I don't want to stop the task mid stream because it requires manual…
Loren
  • 233
  • 2
  • 8
0
votes
1 answer

What is the difference in restricting single user mode with password through /etc/sysconfig/init and /etc/inittab in a Linux system?

I was checking some sites for setting password protection in single user mode login in my Linux server (Oracle Enterprise Linux-OEL) . In some places I saw the steps to add entry into inititab file like below . su:S:wait:/sbin/sulogin In some other…
Mathews Jose
  • 161
  • 1
  • 2
  • 9