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
1
vote
1 answer

Execute a Perl script after reboot on Solaris 10

During my activities on Solaris 10 machine I need twice reboot the Solaris unit and after reboot I'd like to run several scripts. Before first reboot I store in /etc/rc3.d/S99myScript some bash script.The script runs OK after reboot Before second…
Toren
  • 137
  • 3
1
vote
2 answers

Is it possible to SSH a remote server using 2 different private keys for same user?

___ ___ | | (connecting using "hxsr") | | | A | -----------------------------> P1 | B | |___| -----------------------------> P2 |___| P1 = Private key 1 from user "hxusr" from…
jyz
  • 155
  • 6
1
vote
1 answer

How do I make Amazon EC2's load balancer round-robin?

When a user comes to my site, I want him to hit one server during his browsing period. I don't want him to jump from server to server as he pages through my site. I want his "session" to be kept to that server only. How can I do that with load…
Alex
  • 8,471
  • 26
  • 75
  • 99
1
vote
1 answer

Java command not going to background with &

I'm running a java command: java weblogic.Admin -adminurl t3://URL:POST -username username -password password START $SERVER & on an Aix machine. The problem is that the shell still halts until the command is completed. What should I do to make it…
Vladimir
  • 179
  • 1
  • 1
  • 6
1
vote
1 answer

How to setup a HTTP/s Proxy behind Squid/Sockd Proxy

I'm looking for an (easy) way to have a http/s proxy server configured to proxy all traffic directed at the internet (speak not at a host in our subnet) to another proxy server. A short explanation of our setup: In our lab network all hosts use a…
Marcel G
  • 2,269
  • 15
  • 24
1
vote
3 answers

how i can get the date in UNIX-aix and store ecah part in variable

I write batch file and i want to compare the modification time (timstap) to two folder and copy the latest one . i don't know if this option available directory be cause i don't know .so i want to get the date and store each part in variale to…
Mohammad AL-Rawabdeh
  • 1,612
  • 12
  • 33
  • 54
1
vote
5 answers

How can two users set same cron file to run?

In our environment we have two DBAs to run some cron jobs defined in cron_jobs.txt file. Frequently we need to chan ge timing and commands in that cron_jobs.txt file and reload it. Problem is, if DBA_1 edits and reloads that file ($ crontab…
MehdiAnis
  • 13
  • 1
  • 3
1
vote
2 answers

how to manage credentials/access to multiple ssh servers

I would like to make a script which can maintain multiple servers via SSH. I want to control the authentication/authorization in such a manner that authentication is done by gateway and any other access is routed through this ssh server to internal…
geoaxis
  • 491
  • 1
  • 6
  • 18
1
vote
0 answers

Cannot login to Solaris due to chown on /usr directory

Someone ran "chown -R username /usr" and now I have no way of logging into the box to change it back. SSH has been disabled, X Server won't start so I have no graphical GUI, and the console login keeps saying "Login Incorrect" when I try to login. …
smpappas
  • 33
  • 2
1
vote
2 answers

Weblogic administration console way too slow

I've installed weblogic 10.3.3, configured simple domain with default configuration. And after starting weblogic I cannot use it via admin console because it is starting too slow (~10 mins). It seems that admin console application is being deployed…
altern
  • 195
  • 1
  • 12
1
vote
1 answer

What does pwdadm -c effect?

If you were to run pwdadm -c against a user account and it clears the flags from /etc/passwd; what would those cleared flags stop from happening?
ElSwanson
  • 11
  • 1
  • 2
1
vote
1 answer

Via ssh, git-checkout into directory the user doesn't own: "Permission denied"

Using git push server I push to a remote bare git-repository via ssh. The git-repository on the server has a post-receive hook which runs git checkout -f in /var/www/vhosts/domain.com/preview (working tree) for deployment. I get error: git…
leomelzer
  • 15
  • 4
1
vote
2 answers

Software for a local iGoogle / Netvibes

I would like to have a service like iGoogle or Netvibes, allowing my users to have a custom Web home page, with syndication feeds, gadgets, etc, without relying on a third-party and having to use its accounts and accept its terms of use ("We have…
bortzmeyer
  • 3,941
  • 1
  • 21
  • 24
1
vote
2 answers

Linux: Where are non-interactive commands logged?

As far as I know, when I SSH to a box, it will add my command history to something like .bash_history. But when I execute a command like rsync and it executes a remote SSH connection, rsync -avz -e 'ssh -p1234' "/example/"…
cwd
  • 2,763
  • 9
  • 33
  • 48
1
vote
1 answer

Using UNIX sockets with nginx

I would like to clarify some doubts I have about using nginx to proxy requests over a cluster of thin servers (http://code.macournoyer.com/thin/). I've read many blog posts about using UNIX sockets and not TCP connections, my only doubt is about…
ngw
  • 1,261
  • 3
  • 13
  • 15