Search Results

Search: Posts Made By: newtoaixos
Forum: Red Hat 08-31-2016
3,941
Posted By newtoaixos
Root password expiry script
Hi Guys

In red hat linux server is there a way to alert via email when the root password is about to expire ?

As per security policy in our environment root password will expire in 90 days.
...
Forum: AIX 04-27-2016
12,962
Posted By newtoaixos
Change password for many users on an AIX server
Hi

I want to change password for around 100 users on an aix server.
I have the list of those 100 users with me.
instead of doing

# passwd username

for all the 100 users one by one, can...
2,787
Posted By newtoaixos
name convention change
Hi RudiC

Thanks for your reply.

To be frank I did not understand the proposal in post#8 since I'm just trained in AIX and new to scripts.

In the below crontab you can see that the...
2,787
Posted By newtoaixos
Hi RudiC Thanks for your reply. If I...
Hi RudiC

Thanks for your reply.

If I want to run the cronjob at 12:15 everyday, will the below do the work for me :

15 12 * * * /bin/mv /vol/nmonlog/servername_160416_0010.nmon...
2,787
Posted By newtoaixos
Hi Yoda Thanks for the reply. So the file...
Hi Yoda

Thanks for the reply.
So the file comes as hostname_YYMMDD_HHMM.nmon.
After the file is generated and completed for a particular day, can we rename the file from...
2,787
Posted By newtoaixos
Hi Thanks for your reply. I can't open...
Hi

Thanks for your reply.

I can't open the file using # cat /usr/bin/nmon_x86 in putty.

Below is the output I get when I try to cat the file :

...
2,787
Posted By newtoaixos
output file naming convention has to be changed
Hi

Sorry to confuse you. My Bad.

Below is the script scheduled in cron for nmon:

[root@servername nmonlog]# crontab -l | grep -i nmon
10 00 * * * /usr/bin/nmon_x86 -ft -s 60 -c 1440 -m...
2,787
Posted By newtoaixos
Change the naming convention of the output file
Hi

Currently we have nmon running on our Red hat Linux server.
The ouput file is now coming with the naming convention as "servername_160321_0010.nmon".

The output file naming convention has...
996
Posted By newtoaixos
Deleting files
Hi

I have an AIX server. I'm planning to use the below script to remove 60 days older files.



find /path/ -mtime +60 -exec rm -f {} \;



I just want to make sure it will only remove...
Forum: AIX 09-16-2015
5,370
Posted By newtoaixos
To find the user who has created the file
Hi

On our AIX 7.1 server we have a file named /content/development/system.tar with ownership as root.
Many people on our Unix team has sudo access and they will be able to sudo to root user.
We...
Forum: AIX 02-13-2015
4,386
Posted By newtoaixos
Telnet sessions stay as idle users
Hi

The telnet sessions stay as idle users. It is not getting kicked out.

Please advise what could be the issue. only when we reboot the server these telnet sessions goes.

Below is the...
Forum: AIX 11-20-2014
5,788
Posted By newtoaixos
Xhost usage in AIX
Hi

Can some one please advise on the usage of xhost command in aix.

The AIX server name is pmut3.

The below is the requirement :

Only allow X11 / X-Window connections to the pmut3...
3,593
Posted By newtoaixos
Null a file when /var usage is at 90%
Hi Guys

Please help me with a script. I don't have any idea on scripting.

When /var usage goes to 90%, I want the file /var/log/tsm/dsmsched.log to be nulled.

The command to null iscat...
Forum: AIX 04-28-2014
4,716
Posted By newtoaixos
Hi Bakunin I have already enabled the queue....
Hi Bakunin

I have already enabled the queue.
But as I said earlier when i give a test print the status goes to DOWN from READY.

For other printers when i give a test print it works fine. I'm...
Forum: AIX 04-25-2014
4,716
Posted By newtoaixos
Adding print queue in AIX
Hi

When I add a print queue in my AIX server I get the below message.

enq: (WARNING): 0781-162 Cannot awaken qdaemon (request accepted anyway).
enq: errno = 2: A file or directory in the...
Forum: HP-UX 04-23-2014
8,435
Posted By newtoaixos
Core file under /tmp
Hi Guys

Recently we have a issue where the core file under /tmp grows and there by /tmp becomes 100% full in our HP unix server.

Any ideas or suggestions about how we can resolve this.
Forum: AIX 03-19-2014
5,094
Posted By newtoaixos
Below is the output: pmut3:/> ps -elf | grep...
Below is the output:

pmut3:/> ps -elf | grep syslog
240001 A root 372980 217198 0 60 20 58269480 340 12 Mar - 0:00 /usr/sbin/syslogd
Forum: AIX 03-19-2014
5,094
Posted By newtoaixos
Just now checked. Seems all the lines are...
Just now checked. Seems all the lines are commented in the server.


pmut3:/> cat /etc/syslog.conf
# @(#)34 1.11 src/bos/etc/syslog/syslog.conf, cmdnet, bos530 4/27/04 14:47:53
#...
Forum: AIX 03-19-2014
5,094
Posted By newtoaixos
Message redirected from syslog
Hi. recently in many of our lpars we are getting a message in errpt as "C6ACA566 0315094014 U S dtc MESSAGE REDIRECTED FROM SYSLOG".

I have also checked the /etc/syslog.conf file. It doesn't...
Forum: AIX 06-30-2013
10,840
Posted By newtoaixos
Quorum and hdisk issue
hi bakunin

thanks for your help.

what you said is correct ? one disk error came up in errpt. below are the outputs you have requested :


pmut3# lsvg -l appvg
0516-034 : Failed to open VG...
Forum: AIX 06-27-2013
10,840
Posted By newtoaixos
Quorum and hdisk issue
Hi Bakunin

Thanks for your reply. before i do the varyoffvg i need to unmount the 2 filesystems present under that VG.

I have informed the application team already about this issue. probably...
Forum: AIX 06-27-2013
10,840
Posted By newtoaixos
Quorum and hdisk issue
Hi. I found an issue with my appvg present in my server.my server is a single node and not part of hacmp.


pmut3# lspv
hdisk0 00c5c9cf92ebb96a rootvg active...
Forum: AIX 04-30-2013
13,669
Posted By newtoaixos
Unable to sync a lv
Hi

Please look in to the below issue and advise how to fix the issue. I tried syncvg but it gives me an error. Recently we have upgraded the service pack in this lpar.
...
Forum: AIX 02-26-2013
2,313
Posted By newtoaixos
Remove the disk online
Hi

I have one of the disk missing in my NIMVG. My doubt is can I remove this hdisk2 online ? few of the file systems seems to be spread over 7 PV's. that's why i'm worried. Can someone suggest if...
Forum: AIX 01-31-2013
4,129
Posted By newtoaixos
Need help in scripting to check if rootvg is mirrored or not
Hi

Can some one help me with a script which when executed will check and tell if all the LV's in rootvg are mirrored or not. Say for example in the below server we could see that everything is...
Showing results 1 to 25 of 94

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