Search Results

Search: Posts Made By: rajjev_saini123
Forum: Programming 07-22-2014
1,184
Posted By rajjev_saini123
New to ISQL
Hello,

I am having sybase database want to use ISQL to extract some data. Can someone please provide the link from where i can download freeware ISQL. Also documents which i can read and know
1....
7,265
Posted By rajjev_saini123
login is done via ssh, i am getting below output...
login is done via ssh, i am getting below output from the code is there any way to input the fields automatically?

sh test.sh
Yesterdays (17-Jun) password is: oss123!
Todays password is:...
7,265
Posted By rajjev_saini123
i have given only below line in command line and...
i have given only below line in command line and it was working


printf "%s\n" "oldpass" "newpass" "newpass" | (passwd rsaini)


here is the output

sh test.sh
Yesterdays (17-Jun) password...
7,265
Posted By rajjev_saini123
Hey Chubler, i have compiled the program but...
Hey Chubler,

i have compiled the program but it is manually asking for the input of passwords it should automatically take from file.txt
output

sh test.sh
Todays password is: OLiver@123#...
7,265
Posted By rajjev_saini123
i think can we get yesterday password from file...
i think can we get yesterday password from file without using perl...i dont know bout perl

can u please advise below is one of the example


| grep -e "\($(($(date +%d)-0))\|$(($(date...
7,265
Posted By rajjev_saini123
Yes below mentioned is working printf...
Yes below mentioned is working

printf "%s\n" "oldpass" "newpass" "newpass" | (passwd rsaini)
Enter existing login password:

i am not able to fetch 17-June password from below command
...
7,265
Posted By rajjev_saini123
usermod -p `openssl passwd "liver12#"` raj ...
usermod -p `openssl passwd "liver12#"` raj


shows me permission denied
UX: usermod: ERROR: Permission denied.


other way of doing it might be getting the old password from file.txt also and...
7,265
Posted By rajjev_saini123
this one is working but shows me permission...
this one is working but shows me permission denied i will ask admin to run and advise

---------- Post updated at 01:52 PM ---------- Previous update was at 01:38 PM ----------

Hi Chubler,

My...
7,265
Posted By rajjev_saini123
it does not work > usermod -p $(openssl...
it does not work

> usermod -p $(openssl passwd "test123" ) raj
Illegal variable name
7,265
Posted By rajjev_saini123
Thanks Chubler...I am am having another issue I...
Thanks Chubler...I am am having another issue I dont have admin rights to use password --expire raj is there any other way to expire the old password or implement it.

my verision is uname -a...
7,265
Posted By rajjev_saini123
file.txt look like cat file.txt test123...
file.txt look like

cat file.txt
test123 18-Jun
abcd123 19-Jun

dateout look like

cat dateout
test123 18-Jun

I want to take out test123 from dateout file and use in


echo -e...
7,265
Posted By rajjev_saini123
I was having problem in ur program so sharing my...
I was having problem in ur program so sharing my code, dont know how to get test123 password from dateout.txt...also i want to send on the e-mail all the option that can happend while password change...
7,265
Posted By rajjev_saini123
1. Every morning i have login to a user account...
1. Every morning i have login to a user account by ssh and change the password.
2. I am having all list of passwords that i will be using and already provided to user for next 4 months.
3. i can...
7,265
Posted By rajjev_saini123
Script to change password in UNIX
Hi Friends,

Every morning i need to change the password, please advise how it can be automated. I am having pre planned password list for 4 months which can be used as input file for new...
660
Posted By rajjev_saini123
Problem to automate the change password
Hi.

I know how to get new password from input file which have till Dec 2014 passwords with today's date, i want to change my password everyday for which i know how to set cron job that will run...
1,623
Posted By rajjev_saini123
Error cleared but the output is not correct,...
Error cleared but the output is not correct, please check i tired to change the code but it is not showing correct output.


# Script: test.sh
while read rec
do
# Strips name and number...
1,623
Posted By rajjev_saini123
getting the error test.sh: [[: not found ...
getting the error test.sh: [[: not found


# Script: test.sh
while read rec
do
# Strips name and number column from beginning of record so that it can be
# looked up CheckList file.
...
1,623
Posted By rajjev_saini123
Thanks for the reply i tried the code and used...
Thanks for the reply i tried the code and used different workarounds but getting the below mentioned error.


grep: illegal option -- q
grep: illegal option -- F
Usage: grep -hblcnsviw pattern...
1,623
Posted By rajjev_saini123
Yes you are right, also please ensure that there...
Yes you are right, also please ensure that there are different names in IFile and if there is dicrepancy than we should get the dicrepancy written in a separate file as shown below


raj Details=1...
1,623
Posted By rajjev_saini123
getting the below mentioned error Usage:...
getting the below mentioned error

Usage: sdiff [-l] [-s] [-o output] [-w #] file1 file2
test.sh: ./diff: not found
Usage: sdiff [-l] [-s] [-o output] [-w #] file1 file2
test.sh: ./diff: not...
1,623
Posted By rajjev_saini123
Compare two files (Many to one comparison)
Hello,

I am having output shown below names will change and can show different result and i want to compare with the checklist this file will not change it is standard settings.

If there is...
3,579
Posted By rajjev_saini123
my code also worked error was in below line ...
my code also worked error was in below line


(grep "`date +%d-%b"`" File.txt) > /home/test/Bench/dateout

correct code will be


(grep "`date +"%d-%b"`" File.txt) >...
3,579
Posted By rajjev_saini123
used in the same way but still having the same...
used in the same way but still having the same error

if (EXPR1) then
...
else if (EXPR2) then
...
else
...
endif


getting the same error

syntax error at line 25: `end of...
3,579
Posted By rajjev_saini123
Removed all the spaces from the code but still...
Removed all the spaces from the code but still showing the error
syntax error at line 25: `end of file' unexpected

if i use

grep "`date +%d-%b`" File.txt > /home/test/Bench/dateout

it...
3,579
Posted By rajjev_saini123
will take care of it in future pasting of codes ...
will take care of it in future pasting of codes
SunOS
/usr/bin/tcsh

( e.g. > /home/test/ Bench /test - test is user name created for testing and Bench is folder name )
Showing results 1 to 25 of 37

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