Search Results

Search: Posts Made By: dsw
1,139
Posted By dsw
Try as root: iptables -L this...
Try as root:


iptables -L


this will list the iptables packet filter rules (if any).
Forum: Solaris 01-31-2011
1,493
Posted By dsw
I'm unable to discern what it is you're actually...
I'm unable to discern what it is you're actually after, but if you mean you wish to use a pre-canned set of responses to pkgadd, then see the "-r" flag for pkgadd, which allows you to specify a...
Forum: Solaris 01-31-2011
1,493
Posted By dsw
I assume you want a transcript of the session? ...
I assume you want a transcript of the session?

Use the 'script' command.


$ script
Script started, file is typescript
$ echo "blah"
blah
$ exit
Script done, file is typescript
$
The...
3,022
Posted By dsw
So from the script you already test whether the...
So from the script you already test whether the directory passed is valid, and if it's not, you want to spit out something like "usage: ./makeBackup /path/to/dir: Not valid" or something similar?
...
2,895
Posted By dsw
Hi, I would've thought that sqlplus's return...
Hi,

I would've thought that sqlplus's return value will be set according to system events, not internal SQL parsing?

Is it entirely non-functional presently?
Forum: Red Hat 01-28-2011
3,459
Posted By dsw
Well, you have 2 PTR records. That's not allowed...
Well, you have 2 PTR records. That's not allowed (at least I don't think so, but the RFC may state otherwise).

I would suggest you only have one "dns" PTR record, and make "www" a CNAME (but not...
Forum: Red Hat 01-28-2011
3,459
Posted By dsw
the /etc/nsswitch.conf "hosts:" line should...
the /etc/nsswitch.conf "hosts:" line should contain at least "dns". I'm quite sure it's the default these days anyway.

One question, the one NS record in your reverse file:


dns.foo.org.
...
Forum: Red Hat 01-28-2011
3,459
Posted By dsw
this may be a silly question, but what does your...
this may be a silly question, but what does your /etc/resolv.conf and /etc/nsswitch.conf look like on the box you're resolving from?
801
Posted By dsw
Hi, Please find herewith a similar thread...
Hi,

Please find herewith a similar thread which might provide the info you're after:

https://www.unix.com/shell-programming-scripting/20375-bourne-shell-arrays.html...
11,991
Posted By dsw
Hi John, Please see my earlier post,...
Hi John,

Please see my earlier post, specifically:



I suggest you request that your Sysadmin "does the needful", because sudo will consume arguments passed and check whether they correspond...
Forum: Red Hat 01-27-2011
11,939
Posted By dsw
On the server, can you post the the output of the...
On the server, can you post the the output of the 'share' command / or the relevant line in /etc/dfs/dfstab.

It would be handy to know how this is exported.

The problem is basically, root uid...
Forum: Solaris 01-27-2011
9,777
Posted By dsw
ok looks like ce1 is getting the most use from...
ok looks like ce1 is getting the most use from the netstat, but what I wanted to know with the traceroutes was, what happens when you run it in succession, (one-after-another) maybe 5 - 8 times.
...
2,428
Posted By dsw
Sounds like you should use an array.
Sounds like you should use an array.
Forum: Linux 01-27-2011
21,295
Posted By dsw
'man 2 creat' creat(2) operates on file...
'man 2 creat'

creat(2) operates on file descriptors as does the rest of the stdio.h calls - give the manpage a view.

-or-

you can OR the O_CREAT flag with O_RDWR in open(2) to create the...
Forum: Solaris 01-27-2011
9,777
Posted By dsw
You mean local-mac-address in eeprom. That...
You mean local-mac-address in eeprom.

That could be it, yep -

@ OP, please run the following and post.


eeprom | grep local-mac
Let us also know what the traceroute threw up.
2,428
Posted By dsw
Not sure what you mean - certainly looks like...
Not sure what you mean - certainly looks like you're decrementing 'c'.
9,448
Posted By dsw
Ah, good - you should be able to edit the ftpd...
Ah, good - you should be able to edit the ftpd inetd entry with inetadm to use the options:


-r (rootdir of the FTP session - see the chroot(2) manpage)
-a (allows the use of...
Forum: Solaris 01-27-2011
9,777
Posted By dsw
hi, 2 NICs on the same subnet are likely to...
hi,

2 NICs on the same subnet are likely to cause you problems. What sort of routing entries do you have for these interfaces?

Can you paste your routing table please.

netstat -rn
I would...
1,626
Posted By dsw
Hi, you would want both -x and -v, to ensure...
Hi,

you would want both -x and -v, to ensure you omit the exact match.
9,448
Posted By dsw
You can begin by mentioning the O/S you're...
You can begin by mentioning the O/S you're running-
Forum: Red Hat 01-27-2011
11,939
Posted By dsw
Hi, Couple of points, as your post alludes...
Hi,

Couple of points, as your post alludes to a bit of confusion.

1) The function "-o rw=" is to export r/w to hosts, not to users.

2) Only root can mount an NFS filesystem - this is true. ...
11,991
Posted By dsw
Hi, Why are you piping to ls? (this will get...
Hi,

Why are you piping to ls? (this will get your home dir contents as you mentioned).

You could do the following the the effect you're after (but you'll have to add the -c flag for su to...
9,448
Posted By dsw
You'll have to detail which FTP daemon you're...
You'll have to detail which FTP daemon you're using, as chroot'ing is common to many, but their configs differ.

You could look at vsftpd if you have the option of configuring the FTP server from...
3,556
Posted By dsw
Hi, You stipulate that expect and .rhosts...
Hi,

You stipulate that expect and .rhosts are not acceptable, but your subject mentions ssh, so i would suggest public key authentication, as this is the best way to accomplish what you're after....
Forum: What is on Your Mind? 01-26-2011
8,486
Posted By dsw
It was 1996 and I was 15 & lucky to have the UK's...
It was 1996 and I was 15 & lucky to have the UK's compulsory 2-week Work Experience in a London Hospital.

Introduced by an elderly bofh to Solaris 2.5 on a Sparc Server 20. Awesome experience.
...
Showing results 1 to 25 of 45

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