Search Results

Search: Posts Made By: 22blaze
Forum: Solaris 05-05-2010
4,360
Posted By 22blaze
sandholm I did find this prior to my posting and...
sandholm I did find this prior to my posting and was only finding linux specific details. I have refined my search to solaris pam_mkhomedir and am finding what I need. Will update the post...
Forum: Solaris 05-04-2010
4,360
Posted By 22blaze
Requesting help to automatically create home dir on login
I know we would not normally do this. However, I would like to have user's home directory created when they log in the first time.
I have searched the forums and have not found any help yet....
Forum: Solaris 09-01-2009
6,016
Posted By 22blaze
to force the other session out and take console,...
to force the other session out and take console, you should be able to
console -d domain -fat a minimum you can always use help console
Forum: Solaris 07-13-2009
29,921
Posted By 22blaze
The code finds pkginfo files in /var in the...
The code finds pkginfo files in /var in the sparse zone.
Based on a quick review of my basic find output with no awks, the info gets parsed from the PATCH_INFO.
So, quite possibly, if the system...
Forum: Solaris 07-10-2009
29,921
Posted By 22blaze
Posted Solution
As long as the Global Zone has not been renamed, you can find it.
Please check my previous post. (https://www.unix.com/302257212-post9.html)
28,985
Posted By 22blaze
I figured it out after checking another one of my...
I figured it out after checking another one of my test using commands. Since I am echo the command results, I actually need to capture the echo as my command and test that. So, more capture the echo...
28,985
Posted By 22blaze
TFM - the echo is just for my precursor test, I...
TFM - the echo is just for my precursor test, I will fill with exit or pkgrm and pkgadd based on results.
As for the syntax with = and "1.11", I am still getting the error with the following 2 other...
28,985
Posted By 22blaze
if returns "unknown test operator"
Greetings, using ksh on Solaris, I am trying to identify the current version of a package installed on multiple servers using if statement in a precursor to upgrading.
I have searched the forums and...
3,582
Posted By 22blaze
I came up with an alternate solution. redirect...
I came up with an alternate solution. redirect the find output to a new file then test the new file. if empty, bail out, else grep for complete from the file found.
3,582
Posted By 22blaze
JerryHone, thanks for the response. This works...
JerryHone, thanks for the response. This works great if the find returns a file. However, in the event the job has not run in the last 7 days, there is no file returned and we are left with grep...
3,582
Posted By 22blaze
using find within if RC always 0?
I am trying to use find within an if statement.
Problem is, even though my find returns nothing, the RC is 0 and continues.
Intent - check the log of a weekly job for successful completion. If...
64,960
Posted By 22blaze
Understood on the code posting. I will keep this...
Understood on the code posting. I will keep this in mind for future posts.
This works great. Thanks for the quick response, much appreciated.
64,960
Posted By 22blaze
I am aware of all those steps. It is the syntax...
I am aware of all those steps. It is the syntax of the sed command that I am struggling with. If I just grep for the command and issue the sed 's/^/#/'
#0 10 * * 5 /my/cron/job I only get that...
64,960
Posted By 22blaze
comment out a cron job as part of a script
Greetings,
I am creating a ksh script to automate the installation of a utility on many servers.
As part of this install, I want to check for a job in root's crontab.
If the job exists, I need to...
6,796
Posted By 22blaze
After many attempts with different varations,...
After many attempts with different varations, came up with a working repeatable solution.
Add second default route to /etc/defaultrouter:

#Production network
x.0.224.1
#Development network...
47,007
Posted By 22blaze
Thanks for the tip on old /sbin/sh. Understood...
Thanks for the tip on old /sbin/sh.
Understood on the "should be fixed".
As for the debate on /etc/profile vs. user home dirs, we can agree to disagree. It is a personal preference and as you said,...
47,007
Posted By 22blaze
For what its worth, I personally would stay away...
For what its worth, I personally would stay away from changing the root shell in /etc/passwd. root runs many things within the OS and I have found this to not be a good thing. If you want the root...
Forum: Solaris 12-22-2008
17,393
Posted By 22blaze
Are you using any name service for authentication...
Are you using any name service for authentication on the client, NIS LDAP, or is it all local files? Grep passwd /etc/nsswitch.conf
if you are using a name service, ensure you have the name service...
Forum: Solaris 11-11-2008
42,358
Posted By 22blaze
jilliagre - trying not to step on your toes, but...
jilliagre - trying not to step on your toes, but to get answer to efunds.

Does the client you are attempting to connect to use nis groups as well?
Check for the instance of any +@<group> at the...
Forum: Solaris 11-11-2008
3,995
Posted By 22blaze
NICs are not the limitation here, ports are. As...
NICs are not the limitation here, ports are. As reborg indicates if you have enough ports, you can set it up, you will just not have the ipmultinic resource.
You do need a minimum of 3 ports. The...
Forum: Solaris 11-11-2008
5,512
Posted By 22blaze
errr, actually there is a way and without root...
errr, actually there is a way and without root privs.
Credit to Aaron Davenport of LCS Technologies "lcs-technologies-inc dot com"

From any sparse zone:

find /var -type f -name 'pkginfo'...
6,796
Posted By 22blaze
solaris zones on different subnets
Greetings,

Having an issue with a multihomed global zone hosting zones on different subnets.
The issue is with the dev zone that is hosted on the non-default network.
Any help, other than going...
2,168
Posted By 22blaze
Thanks era. I am a firm believer in "short and...
Thanks era. I am a firm believer in "short and sweet".
2,168
Posted By 22blaze
That did the trick. echo yes | command...
That did the trick.
echo yes | command -filename=$OUT
Misleading on the command line, as the command sits there like it is waiting for a response and the echo does not write to stdout.
The...
2,168
Posted By 22blaze
Script calls command that requires input
Greetings,

Newbie here on the site. I have searched for a similar issue but am not finding one.
I have a script that invokes a command if text is found in a file.
The command asks for a y/n...
Showing results 1 to 25 of 25

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