Search Results

Search: Posts Made By: Linux Duke
15,534
Posted By Linux Duke
Hi Otheus, Do you by any chances have a test...
Hi Otheus,

Do you by any chances have a test machine will you kindly show me the out of your script after running it. I have removet the test=echo and excecuted the script nothing happened no...
15,534
Posted By Linux Duke
Hi there, The script is still not working it...
Hi there,

The script is still not working it just execute and does nothing to /etc/passwd and it gives no errors this time. Please check below I have attached my /etc/passwd output before...
15,534
Posted By Linux Duke
I have updated the script but it's still not...
I have updated the script but it's still not working please have a look below.

#!/bin/bash
FILE1=/tmp/update.txt
FILE2=/etc/passwd
cp $FILE2 /etc/passwd.$$.orig
TEST=echo

for i in `awk -F:...
15,534
Posted By Linux Duke
Howzit Otheus, I updated the script and I'm...
Howzit Otheus,

I updated the script and I'm still getting syntax errors please have a look at the out put below: My prayers are not getting answered!!!!!!!!!!

#!/bin/bash...
15,534
Posted By Linux Duke
I have executed the script it backs up the...
I have executed the script it backs up the /etc/passwd file fine and it does increment it if you excecute the script twice. The script the gives a syntax error with the following out put below. When...
15,534
Posted By Linux Duke
Updating the comments field on /etc/passwd
Hi there,

I have more that 300 servers that I need to updated the comments field on /etc/passwd for users that have a blank comments fields. The users have accounts on different servers. I have...
5,977
Posted By Linux Duke
Hi Guys, May I please get help with this...
Hi Guys,

May I please get help with this problem, I have been trying a lot of things and I'm not winning this script keeps deleting user account.I did it on a different server then used chfn but...
Forum: High Performance Computing 01-08-2009
7,927
Posted By Linux Duke
Building a Linux Virtual Server cluster
Hi Guys,

I'm busy building a LVS-NAT cluster on Red-Hat server 5.1 and I need a kernel that has LVS capabilities for a red-hat server 5.1. Is the anyone who can advise me where I can get this...
5,977
Posted By Linux Duke
Hi Methyl, I did use pwconv but did not fix...
Hi Methyl,

I did use pwconv but did not fix the problem hance I ended up using chfn.
My first script is using usermod and this is not working and Franklin52 script is working except for this...
5,977
Posted By Linux Duke
Hi guys, I'm experiencing problems after...
Hi guys,

I'm experiencing problems after executing the script above from Franklin52. Please don't get me wrong the script is doing what it's suppose to do but it looks like it does not update the...
5,977
Posted By Linux Duke
Thanks Franklin52 your script is working 100%.
Thanks Franklin52 your script is working 100%.
5,977
Posted By Linux Duke
Script for updating the comments field on /etc/passwd on redhat linux
Hi there,

I have more that 300 servers that I need to updated the comments field on /etc/passwd for users that have a blank comments fields. The users have accounts on different servers. I have...
Showing results 1 to 12 of 12

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