Search Results

Search: Posts Made By: Hiroshi
2,423
Posted By RudiC
Look at the links at the bottom left of this page...
Look at the links at the bottom left of this page under the "More UNIX and Linux Forum Topics You Might Find Helpful" header.
8,800
Posted By RudiC
Code tags temporarily suspend html formatting so...
Code tags temporarily suspend html formatting so spacing, indenting etc. are preserved and monospace fonts are used. They work like code or data text ; you can enter them manually or highlight the...
8,800
Posted By RudiC
If that is just a comment not requiring...
If that is just a comment not requiring follow-up, fine.

If not, open a new thread, giving exact and complete infos on WHAT and HOW doesn't work, using code tags where appropriate and required by...
8,800
Posted By drysdalk
Hi, I've looked into this a bit further,...
Hi,

I've looked into this a bit further, although I don't myself have a full Oracle Solaris system to test on; rather, at home I have a system running Tribblix, an Illumos distro. So there will...
8,800
Posted By drysdalk
Hi, Good to know that the problem is now...
Hi,

Good to know that the problem is now identified and that you have a working solution for the Linux systems, at least. As for the Solaris one, you'll most likely have to find an alternative...
8,800
Posted By RudiC
Is the chpasswd utility available on your system?...
Is the chpasswd utility available on your system? man chpasswd:
8,800
Posted By Chubler_XL
Id guess that passwd is refusing to take input...
Id guess that passwd is refusing to take input from a non-terminal.

On *nix servers I find usermod(8) to be much more reliable for this sort of thing e.g.:

#!/bin/bash
##data file name is...
8,800
Posted By drysdalk
Hi, OK, thanks. And it works on all four...
Hi,

OK, thanks. And it works on all four servers if done manually, and not just munsbxlinux3 ?
8,800
Posted By drysdalk
Hi, That at least is easy to explain. You...
Hi,

That at least is easy to explain. You can't really 'comment out' input. So what is happening is that 'ssh' is attempting to connect to the hosts whose names start with a hash symbol, and DNS...
8,800
Posted By drysdalk
Hello, OK, thanks for the feedback. If you...
Hello,

OK, thanks for the feedback. If you try running it with the '-x' flag to Bash, which will make it show you each step as it executes, where does it hang ? So you'd want to run bash -x...
8,800
Posted By drysdalk
Hi, (Edit) Just checking, but are you...
Hi,

(Edit)

Just checking, but are you running it with the filename as an argument ? e.g. ./script.sh serverlist.txt or something like that ? The script takes the first argument ($1) as the...
8,800
Posted By vbe
maybe -n option for ssh is missing as its a...
maybe -n option for ssh is missing as its a script... Otherwise ssh is tempted to read StdIN which here is void...
8,800
Posted By drysdalk
Hi, I think that this behaviour is being...
Hi,

I think that this behaviour is being caused by the use of a 'while read' loop to drive the 'ssh' command. The way input is read in and processed in this particular script may not actually be...
3,701
Posted By RudiC
Just guessing that you are not running a (recent)...
Just guessing that you are not running a (recent) bash for your "substring expansion" ${firstLine:0:3} as it is the usual syntax and should work. ${cut -c1-8} should be a "command substitution" in...
Showing results 1 to 14 of 14

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