LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-19-2011, 09:31 AM   #1
anishkumarv
Member
 
Registered: Feb 2010
Location: chennai - India
Distribution: centos
Posts: 289

Rep: Reputation: 10
Is it Possible to Automate this Procees using shell script!!


Hi all,

Thanks to all to answer my queries till now...

and my requirement is actually we are running Web application using Apache-Tomcat, our application is like we need to create account for our users once they sign up the form with default user name and password.

1. in this process our Developer team process is from the application one confirmation mail link will send to the customer after successfully complete the sign up process. once the customer will click the link

2. (my process) one e-mail will come to the server then its automatically create free saas account for the customer in our server with default username and password.

Now in that issue in the final process sometime with the default username and password customer cant able to login - so temporarily we manually checking for every customer's user account whether its login or not , then we will send the account details.

Its take more time. so is it possible to write script for this to check whether the user account is login or not using the default username and password, if not login means automatically it will send error mail to admin mail id - like authentication failed.
 
Old 05-19-2011, 10:54 AM   #2
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,576
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
If you can do it at the command line then it can almost certainly be scripted. Can you do it at the command line?
 
1 members found this post helpful.
Old 05-20-2011, 01:38 AM   #3
anishkumarv
Member
 
Registered: Feb 2010
Location: chennai - India
Distribution: centos
Posts: 289

Original Poster
Rep: Reputation: 10
Hi catkin,

first of all great thanks to you my friend to read my thread very patiently ..:-)


I dont know how to check the web application whether we can able to login or not using default user name and password through command line also . so please share your idea's how it is possible?? i am totally blank in this concept please guide me to solve this thread!!!!
 
Old 05-20-2011, 01:57 AM   #4
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,576
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
How do you "manually checking for every customer's user account whether its login or not"?
 
Old 05-20-2011, 05:31 AM   #5
anishkumarv
Member
 
Registered: Feb 2010
Location: chennai - India
Distribution: centos
Posts: 289

Original Poster
Rep: Reputation: 10
Hi catkin,

using Username and password!! if enter means login successful if not means not login!!!
 
Old 05-20-2011, 07:20 AM   #6
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,576
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
Quote:
Originally Posted by anishkumarv View Post
Hi catkin,

using Username and password!! if enter means login successful if not means not login!!!
That's an effective test!

Where are you doing it though? Regards "2. (my process) one e-mail will come to the server then its automatically create free saas account for the customer in our server with default username and password", is there anything special about the saas account or is it a Linux login?
 
Old 05-20-2011, 08:00 AM   #7
anishkumarv
Member
 
Registered: Feb 2010
Location: chennai - India
Distribution: centos
Posts: 289

Original Poster
Rep: Reputation: 10
Quote:
That's an effective test!



Actually my friend its like web application we created user/passwd not in linux login

for example: for every signup user we create one trial webapplication in our server

with default username and passwd (its like gmail). i just want to check using this

default username and passwd whether in this application we can able to login or not??
 
Old 05-20-2011, 08:13 AM   #8
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,576
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
Then I cannot help you further. The people who can help you are the ones who wrote the web application; they should know how the login validation works. Maybe they keep the username and password in a database and you can query the database to see if the data is there; maybe they put the data in a file ...
 
Old 05-20-2011, 08:22 AM   #9
anishkumarv
Member
 
Registered: Feb 2010
Location: chennai - India
Distribution: centos
Posts: 289

Original Poster
Rep: Reputation: 10
Quote:
. The people who can help you are the ones who wrote the web application; they should know how the login validation works.
Hmm.. i think using we cam check with username and passwd...!!! okay thanks alot man i'll try my level best to solve this thread!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SHELL SCRIPT to automate telnet login rahulruns Programming 4 06-27-2009 07:11 AM
How would I automate shell script startup during a reboot?? xmdms Linux - Newbie 19 10-22-2008 08:16 AM
shell script to automate TELNET daggulasreedhar Programming 5 08-02-2007 01:13 PM
How to program shell script to automate mass user account creation? EsAsher Linux - General 2 06-30-2007 09:41 AM
Automate FTP session using Shell Script kalyanofb Programming 2 04-07-2007 09:44 AM


All times are GMT -5. The time now is 08:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration