Search Results

Search: Posts Made By: Evan
Forum: Solaris 10-15-2012
32,555
Posted By Evan
Hi all, thanks for your contribute. ...
Hi all,
thanks for your contribute.

Reading blogs, forum and techdoc came out that there's no way to deny a specific user (except root) to login directly with telnet.

I was able to make some...
Forum: Solaris 10-15-2012
32,555
Posted By Evan
Strange answer ... anyway I just want to disable...
Strange answer ... anyway I just want to disable the following users:

root
achenle


Thanks,
Evan
Forum: Solaris 10-15-2012
32,555
Posted By Evan
Disable users to direct login
Hi all,
how can I disable direct login to a Solaris system not only for root user but also for other accounts?

Looking in google I came to the following:

For telnet (/etc/default/login):

...
Forum: HP-UX 07-25-2012
4,548
Posted By Evan
Dear methyl, thank you very much for your...
Dear methyl,
thank you very much for your reply.

I would like to monitor the cpu consumption of all the processes that are listed in "top" (or at least all the processes that are over a certain...
Forum: HP-UX 07-25-2012
4,548
Posted By Evan
Understanding "top" command
Hi all,
I need a clarification about the top command in HP-UX.

If I run:
top -s300
I see the screen refresh every 5 minutes.
From the "man top" I understand that the values displayed every 5...
2,201
Posted By Evan
How can I catch this behaviour ("prompt for...
How can I catch this behaviour ("prompt for password") in a shell script?
If I write a shell script where I connect to remote host and there is no key exchange, the script stops at password prompt...
2,201
Posted By Evan
ssh PasswordAuthentication=no
Hi all,
I'd like to check if connecting to a remote host ask for a password or not.

I thought that using this command:

ssh -l user RemoteHost -o PasswordAuthentication=no pwd


the output...
2,524
Posted By Evan
[diff] hide missing rows, show similar
Hi all!
Having the following two csv files:

file1
AAA;0000;RED
CCC;9900;GREEN

file2
AAA;0000;BLACK
BBB;0099;BLU

What's the correct syntax to hide only the missing rows (BBB,CCC) and...
9,458
Posted By Evan
Dear all, it seems that today I can't explain...
Dear all,
it seems that today I can't explain myself very well.
Please forgive me and let me try one last time.
I'll try to start from the beginning:

#1
I need to retrieve some information...
9,458
Posted By Evan
Following your steps I get no prompt at all, it...
Following your steps I get no prompt at all, it just print the output.

swmml works like perl (it is a perl script): if you want to execute "on the fly" command in perl you write:
perl -e "print...
9,458
Posted By Evan
When I run this: su - omniusr -c "swmml -e...
When I run this:
su - omniusr -c "swmml -e 'DISPLAY-PROCESS'"
from command line I just get some text and then back to cmd line.


I run the above command as root user


Yes I'm working from...
9,458
Posted By Evan
Sorry, I didn't explained very well. Running...
Sorry, I didn't explained very well.

Running from command line:
su - omniusr -c "swmml -e \'DISPLAY-PROCESS\'"
works fine and I get a list of processes and then back to the cli.

While when I...
9,458
Posted By Evan
Crontab and interactive script
Hi all,
I'm trying to execute from crontab a script that uses an interactive shell (swmml, Signalware MML Commands).

I think the problem is about the crontab environment which miss...
2,662
Posted By Evan
Hi jim, sorry for not updating this post. TCP...
Hi jim,
sorry for not updating this post.
TCP issue was the problem!

Let me explain: the core network sends TCP packets with parameter Window=0 (this happens on process restart, still not clear...
Forum: Red Hat 04-06-2011
5,572
Posted By Evan
Comment in static route file
Hi all,
is it possible to add a comment starting with "#" (with vi for example) to the static route file in:

/etc/sysconfig/network-scripts/route*


Are you aware of any problems this can...
2,662
Posted By Evan
Hi jim thanks for your reply. Regarding the...
Hi jim thanks for your reply.

Regarding the snoop I'll brush up a previous script: an infinite loop that created a snoop file at once with 5000 packets:
snoop -q -o ./trace.cap -d eth0 -c 5000...
2,662
Posted By Evan
How to demonstrate network problems?
Hi,
I work on several Sun servers running Solaris (SunOS 5.10). All of these are Application Servers with a propietary software running on it.
It happens that some times (not...
5,817
Posted By Evan
Ok thanks hergp, I followed your advice. ...
Ok thanks hergp, I followed your advice.

Kind Regards,
Evan
5,817
Posted By Evan
Thank you hergp for quick reply. It works but...
Thank you hergp for quick reply.
It works but ...

Is it possible to use the -i option specifiyng the myuser id_rsa.pub file?
I tried but I get some errors about file permissions and even copying...
5,817
Posted By Evan
Execute shell script from browser through php
Hi all,
I want to execute a shell script in which I call ssh to execute a remote command.

Everything works fine from command line but when I try to call from PHP (with exec or whatever function)...
21,083
Posted By Evan
Expect script: obtain the exit code of remote command
Hi all,
I'm trying to run the sipp simulator in crontab but after some attempt I came to the conclusion that for some reason this isn't possible (maybe due to sipp interactive nature).
This is...
18,869
Posted By Evan
Hi vistastar, thank you for your suggestion. ...
Hi vistastar,
thank you for your suggestion.

Since I can't use expect I just tried to ssh twice:
ssh userB1@B1 "ssh userB2@B2 pwd"
I didn't thought about this solution, but it make sense...
18,869
Posted By Evan
SSH execute remote command (with jump)
Hi all,
I am facing the following issue:

Host A should execute a remote command (say pwd) on host B2.
B2 is not directly reacheable but you have to connect from a to B1, then from B1 you can...
Forum: Linux 07-28-2010
9,015
Posted By Evan
SSH Warning Welcome message?
Hi all,
I just configured automatic login between two servers following this article:


SSH login without password (http://linuxproblem.org/art_9.html)

When I execute the following command:
...
7,155
Posted By Evan
>>> "grep -v $0" which I believe is the Perl...
>>> "grep -v $0" which I believe is the Perl program itself
Yes that's right.

>>>> There is no loop for multi-line output.
No problem for this because the processes I monitor are single instance...
Showing results 1 to 25 of 34

 
All times are GMT -4. The time now is 11:17 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy