Search Results

Search: Posts Made By: Jartan
Forum: Red Hat 01-08-2016
3,366
Posted By Jartan
Restrict sudo -i
Hi,

I wanted add a group to the sudoers file so they can run sudo commands and blocked su command but it seems they can just run sudo -i to switch to root which defeats my purpose.
Is it possible...
Forum: Solaris 01-08-2010
5,590
Posted By Jartan
# dladm show-dev bcme0 link: unknown ...
# dladm show-dev
bcme0 link: unknown speed: 0 Mbps duplex: unknown
bcme1 link: unknown speed: 0 Mbps duplex: unknown
bnx0 link: up ...
Forum: Solaris 01-08-2010
5,590
Posted By Jartan
Link status turning up and down continously
Hi All,

Happy New Year.

I have a weird situation in one of my servers.The OS is solaris 10

We don't have bcme1 interface configured/plumbed on that system but every 5 second i get this...
Forum: Solaris 04-03-2009
20,112
Posted By Jartan
Create an ISO image of whole system
Hi All,

Please help me with this.

My plan is to create an ISO image of my current solaris 8 OS.Because we use a stripped out version of solaris 8 which is different than the standard one in CD....
4,734
Posted By Jartan
You're amazing. It worked. Thanks for your...
You're amazing. It worked.

Thanks for your help.
4,734
Posted By Jartan
Sorry for the confusion. I tried executing...
Sorry for the confusion.

I tried executing just ls -l on the remote server. Actually the abc will wary from server to server, i have a list of servers which iam reading line by line and ssh to...
4,734
Posted By Jartan
can you tell me what's wrong with my command. Do...
can you tell me what's wrong with my command. Do i need to put any escape characters?


Thanks.
4,734
Posted By Jartan
Hi, It worked. Is it possible to do...
Hi,

It worked.

Is it possible to do other operations like tar etc inside these directories?

Thanks,
4,734
Posted By Jartan
Hi , Thanks for the reply. The paths...
Hi ,

Thanks for the reply.

The paths are correct, i dont want to use abc[12] as they might vary from servers, thats why i use generic abc*,
Please advise.


Thanks.
4,734
Posted By Jartan
ssh and executing a for loop
Hi all,

I am trying to run a script which is expected to do:

on the remote machine,
There are two directories /export/home/abc1,/export/home/abc2
i am trying to do,
ssh SERVERNAME "for i in...
1,503
Posted By Jartan
Hi, Please never mind,i figured it out...
Hi,

Please never mind,i figured it out myself.
Thanks spirtle for your reply.


Best Regards.
1,503
Posted By Jartan
Thanks for your reply. I inserted echo $i and it...
Thanks for your reply. I inserted echo $i and it displayed each elements of array1 in each line.
I would like to know if i declare 2 or 3 arrays with different set of hosts, within a single for loop...
1,503
Posted By Jartan
Hi, Please somebody reply me. Let me...
Hi,

Please somebody reply me.

Let me know if you need more information.


Thanks.
1,503
Posted By Jartan
Array help
Hi all,

I have the scenario where i have different categories of servers of 4 pairs, like pairA=4 serves,pairB=4 servers like that. I want to store them in an array with their hostnames, depends...
Forum: Solaris 05-13-2008
20,005
Posted By Jartan
Hi, Did you gave the actual path where rsync...
Hi,

Did you gave the actual path where rsync resides in here
In /etc/inetd.conf
#Rsync Daemon
rsync stream tcp nowait root /[location]/rsync rsync --daemon
Also make sure the file is...
Forum: Solaris 05-12-2008
20,005
Posted By Jartan
In /etc/services # Rsync port rsync ...
In /etc/services
# Rsync port
rsync 873/tcp

In /etc/inetd.conf
#Rsync Daemon
rsync stream tcp nowait root /[location]/rsync rsync --daemon

In /etc/rsyncd.conf
[label...
Forum: Solaris 05-12-2008
20,005
Posted By Jartan
Hi, I believe you need to configure...
Hi,

I believe you need to configure /etc/rsyncd.conf and try telnet to localhost on 873 and see if it gets connected also add that in /etc/services. I used this link for help

Manpage of rsync...
5,495
Posted By Jartan
Thaks a lot guys. That did worked. Iam...
Thaks a lot guys.

That did worked.

Iam doing this from the command you guys gave

for i in `cat /var/tmp/errorfile |awk -F'"' '{ print $2 }'`; do echo y|pkgadd -d . $i; done

Thanks again.:)
5,495
Posted By Jartan
Hi Again the first command gave empty...
Hi
Again the first command gave empty temp1.txt.
I tried with both ls -l & ls -1
5,495
Posted By Jartan
Hi , Thanks again. When i do # ls -l|awk...
Hi ,

Thanks again.
When i do # ls -l|awk '{print $9}'|xargs pkginfo |grep -i error > temp1.txt
there's nothing written onto temp1.txt
-rw-r----- 1 root root 0 May 7 19:49...
5,495
Posted By Jartan
Hi, I tried and when i gave the first line...
Hi,

I tried and when i gave the first line it just displays the two lines
# temp1=`ls -l|awk '{print $9}'|xargs pkginfo|grep -i error`
ERROR: information for "SUNWxwslb" was not found
ERROR:...
5,495
Posted By Jartan
Iam sorry that was what iam not looking for, i...
Iam sorry that was what iam not looking for, i need to grep for error line and extract the name within quotes.
The command you gave gives excluding the error line.
5,495
Posted By Jartan
Hi , I tried that before, but iam still...
Hi ,

I tried that before, but iam still getting the same
# ls -l|awk '{print $9}'|xargs pkginfo |grep -i error|nawk -F'"' '{print $2 }'
ERROR: information for "SUNWxwslb" was not found
ERROR:...
5,495
Posted By Jartan
Extracting a text between ""
Hi,

I am having trouble extracing a string between the quotes.

The OS in solaris 8

I have a directory which has solaris packages and i need to do pkginfo for all and search for uninstalled...
Forum: UNIX and Linux Applications 04-08-2008
6,586
Posted By Jartan
Thanks,No problem. Or else can i do it this...
Thanks,No problem.

Or else can i do it this way. Install Linux on my pen drive and boot my pc from that or boot linux from cd like ubuntu linux and install that dsh on linux.will it work in that...
Showing results 1 to 25 of 52

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