Search Results

Search: Posts Made By: wdog17
Forum: Linux 02-14-2012
3,116
Posted By wdog17
Did you get the same thing or something different?
Did you get the same thing or something different?
Forum: Linux 02-10-2012
3,116
Posted By wdog17
It gave me this as a result: tcgetattr:...
It gave me this as a result:

tcgetattr: Invalid argument
Changing password for user userid.
passwd: Authentication information cannot be recovered


Why did it give the error "tcgetattr:...
Forum: Linux 02-08-2012
3,116
Posted By wdog17
Any one else have any thoughts? Any help would be...
Any one else have any thoughts? Any help would be most
appreciative

---------- Post updated at 09:01 AM ---------- Previous update was at 08:55 AM ----------

Sorry Corona688, didn't see your...
Forum: Linux 02-01-2012
3,116
Posted By wdog17
Just reset a simple password. I'm not testing is...
Just reset a simple password. I'm not testing is ssh is on ssh. Im testing if the user is on the server. if the user is then reset the password. If not the echo the user is not on the server.
Forum: Linux 02-01-2012
3,116
Posted By wdog17
I looked on some other pages and the -a takes the...
I looked on some other pages and the -a takes the place of && . I mistated what I was trying to do (forgive me :D). This what I was trying to do (reset a password):


#!/bin/bash

echo...
Forum: Linux 02-01-2012
3,116
Posted By wdog17
Didn't have the same permission's. Thats what it...
Didn't have the same permission's. Thats what it was. I have one more problem. I'm trying to execute a function an put a "if/then" statement within the single line of ssh command.

echo "`date...
Forum: Linux 01-18-2012
3,116
Posted By wdog17
SSH through another id
First off, I don't have root permissions :wall:. All I have is sudo rights.

Im trying to ssh with another ID to multiple servers without the server asking for a password. The other ID already...
Forum: Linux 12-02-2011
4,458
Posted By wdog17
Ok, here is the whole code with the change ...
Ok, here is the whole code with the change

#!/bin/bash
#Linux Script
file="`date +%b_%d_%y:%H:%M:%S`"

trap "kill $PID" EXIT
exec...
Forum: Linux 12-02-2011
4,458
Posted By wdog17
Here you go
#!/bin/bash
#Linux Script
trap "kill $PID" EXIT
exec 2> ~/errors/idtoolerrorlogs/$file
tail -f ~/errors/idtoolerrorlogs/$file &
PID=$

echo "`date +%D:%H:%M:%S`" ; read -p " User ID"= UserID
...
Forum: Linux 12-01-2011
4,458
Posted By wdog17
It's getting this error: kill: usage:...
It's getting this error:


kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]

Please use code tags. Thanks.
Forum: Linux 11-30-2011
4,458
Posted By wdog17
I do like the "exec 2> ...
I do like the "exec 2> ~/errors/idtoolerrorlogs/$file" command (without the quotation marks). The problem is the error messege shows up in the file and not on the screen. Is there anyway have the...
Forum: Linux 11-30-2011
4,458
Posted By wdog17
I have another question. Lets say the scripts...
I have another question. Lets say the scripts name is "idtoolflinux" and I want to copy any errors form the output of this script (when I say output I mean as I press the command ./idtoolflinux and...
Forum: Linux 11-30-2011
4,458
Posted By wdog17
I took a look at my script yesterday and I...
I took a look at my script yesterday and I revised it.

!/bin/bash

Linux Script

echo "`date +%D:%H:%M:%S`" ; read -p " User ID"= UserID

echo "`date +%D:%H:%M:%S`" ; read -p "Enter...
Forum: Linux 11-29-2011
4,458
Posted By wdog17
The whole script
#!/bin/bash

#Linux Script

echo "`date +%D:%H:%M:%S`" ; read -p " User ID"= UserID

echo "`date +%D:%H:%M:%S`" ; read -p "Enter Server(s)"= servertext && echo $servertext > serverlist
...
Forum: Linux 11-28-2011
4,458
Posted By wdog17
Need help on 2>&1
I need help. I'm trying to have the out of en error not only show up on the screen , but also be copied into a file.

This is part of my script

file="`date +%b_%d_%y:%H:%M:%S`"
touch $file |...
Forum: Linux 08-08-2011
4,909
Posted By wdog17
I changed the command to : echo...
I changed the command to :

echo $userpasswd | /usr/bin/passwd --stdin $useridname


and I get this output:

Only root can do that.
Enter passphrase for key...
Forum: Linux 08-08-2011
4,909
Posted By wdog17
I want the password echoed into the passwd...
I want the password echoed into the passwd command.
Forum: Linux 08-05-2011
4,909
Posted By wdog17
ssh and passwd scripting execution problems on linux
I'm having a problem here and I was wondering if anyone could help me? I'm putting together a password script. First off, I don't have root access. I have sudo access. Lets say the User ID is...
Showing results 1 to 18 of 18

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