Search Results

Search: Posts Made By: ckmehta
Forum: Red Hat 02-06-2019
6,046
Posted By ckmehta
Looking for equivalent of Solaris containers/zones in RHEL7 Linux
Hi, I come from a legacy Solaris background with lots of experience with Solaris Containers/zones that we use for network and process isolation from each other.

Currently we have a RHEL7 Linux...
Forum: Solaris 08-08-2016
2,503
Posted By ckmehta
@MadeInGermany ...I can't tell if you're serious...
@MadeInGermany ...I can't tell if you're serious or this is a troll
Forum: Solaris 07-15-2016
2,503
Posted By ckmehta
Instructions for Solaris 10 RedHat RHEL7 IPA for LDAP authentication?
Hi, does anyone have instructions on how to connect a Solaris 10 (Sparc) machine to Redhat RHEL7 IPA server for LDAP authentication, I have gone through the usual search results on Google, but...
16,590
Posted By ckmehta
Pretty sure it was TCP, but just to confirm, here...
Pretty sure it was TCP, but just to confirm, here are my failing results:

> telnet 107.249.95.5 4488
Trying 107.249.95.5...
Connected to 107.249.95.5.
Escape character is '^]'.
^]
telnet>...
16,590
Posted By ckmehta
Then why is my telnet connecting (or appearing...
Then why is my telnet connecting (or appearing to)?

Who says I am brute-force-scanning all these ports, I am testing specific IP addresses and ports over a VPN to a real-time application service...
16,590
Posted By ckmehta
Telnet vs netcat behavior
Currently I run a number of network tests using netcat that checks for an open port on a remote IP-address, using this syntax:

netcat -v -w 5 -z 107.249.95.5 4488

For some reason, the netcat...
6,597
Posted By ckmehta
Populating a BASH array with a list of files including spaces-in-the-name
For the record, I already tried telling mgmt and the users to disallow spaces in filenames for this script, but it isn't happening for a number of ID10T-error-based reasons.

I have simple list...
Forum: Solaris 10-05-2012
6,814
Posted By ckmehta
Good suggestion for most Unix boxen, but...
Good suggestion for most Unix boxen, but unfortunately, the (-x) option doesn't respect ZFS file systems mounted-to-root using ZFS-config, whereas I am assuming the (-x) option reviews items in...
Forum: Solaris 10-03-2012
6,814
Posted By ckmehta
Cannot tell what is filling up root (/) partition on Sol10
I can see that my root partition is down to single-digit GB free out of 134GB root partition on a larger server with many SAN, NFS, LOFS mounts etc mounted at the root (/) partition.

How can I...
8,511
Posted By ckmehta
AWK script to create max value of 3rd column, grouping by first column
Hi,

I need an awk script (or whatever shell-construct) that would take data like below and get the max value of 3 column, when grouping by the 1st column.

clientname,day-of-month,max-users...
1,553
Posted By ckmehta
Yes, I want the script to accept incoming...
Yes, I want the script to accept incoming connections over telnet and take one line of input, process that input, display the script's standard-out over the telnet connection. I still don't see how...
1,553
Posted By ckmehta
Telnetable script on a port
Hi, I have a fairly simple bash script that utilizes 1 argument and runs and display the results of this:
unixCmd ${arg1}

I'd like to run this script on a machine=myserver and attach to port...
Forum: Solaris 03-31-2011
5,727
Posted By ckmehta
Thanks, but I was looking for 1 command that...
Thanks, but I was looking for 1 command that provided all the detail. I finally found this cmd after some additional research:

pkgcond [-nv] <condition> [ <option(s)> ]

command...
Forum: Solaris 03-24-2011
5,727
Posted By ckmehta
Solaris Cmd to determine type of zone?
I lost my notes on the subject, but I remember running across a single Solaris command that tells you the following

Global zone vs local zone
Sparse local zone vs Whole Root local zone


Can...
7,534
Posted By ckmehta
The SIGHUP/SIGABRT solution isn't going to work...
The SIGHUP/SIGABRT solution isn't going to work for some of the items. Is there another solution, like perhaps something where I can lock the file to new updates from the active process, copy it,...
7,534
Posted By ckmehta
Rollover/compress log from ACTIVE process
I have some Solaris processes that run weeks at a time that create rather large log files that I would like to archive/compress daily. Instead of stopping the process, what can be done so that the...
57,664
Posted By ckmehta
Determining if user is local-user in /etc/passwd or LDAP user
Besides doing some shell-script which loops through /etc/passwd, I was wondering if there was some command that would tell me, like an enhanced version of getent.

The Operating system is Solaris...
4,424
Posted By ckmehta
You can setup some advanced ACLs on the directory...
You can setup some advanced ACLs on the directory beyond the usual ugo-permission scheme.

In Linux and older Solaris file systems, the setfacl command allows you to create some rules for all files...
Forum: Solaris 03-20-2010
26,869
Posted By ckmehta
3 mutually-exclusive suggestions 1. Switching...
3 mutually-exclusive suggestions
1. Switching from Sun's SSH to a truly current and regularly updated OpenSSH based on a set of packages provided by CSW packaging home (http://www.opencsw.org) or...
8,519
Posted By ckmehta
I have seen some solutions with hacks internally...
I have seen some solutions with hacks internally around the "tail -f" method, but it gets messy fast. Any other ideas?
8,519
Posted By ckmehta
Logging ALL standard out of a bash script to a log file, but still show on screen
Is it possible to store all standard-out of a bash script and the binaries it calls in a log file AND still display the stdout on screen?

I know this is possible to store ALL stdout/stderr of a...
24,935
Posted By ckmehta
This works for me: ssh -o...
This works for me:
ssh -o 'PreferredAuthentications=publickey' ${TARGET_USER}@${TARGET_SSH_HOSTNAME} "echo"

The (-o) option is a good way to temporarily override ssh_config/sshd_config settings...
3,083
Posted By ckmehta
Take a look at a utility called LFTP, it is a...
Take a look at a utility called LFTP, it is a great FTP "shell" which handles multiple flavors of S/FTP and is quite scriptable with repeated attempts and error-handling.
7,061
Posted By ckmehta
Record the Signal Type or Number in Bash Trap function
In my Bash script I have an exit/cleanup function in a trap statement like:

trap exitCleanup 1 2 3 6 15 25


Is there anyway to capture which signal # has occurred to record in a log file. ...
31,002
Posted By ckmehta
Thanks everyone, the operating system is Solaris...
Thanks everyone, the operating system is Solaris and the "logins -g <grp>" command works BEAUTIFULLY and provides some visibility on primary vs secondary groups, like the following:


logins -g...
Showing results 1 to 25 of 31

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