LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Is it Possible to Automate this Procees using shell script!! (https://www.linuxquestions.org/questions/linux-newbie-8/is-it-possible-to-automate-this-procees-using-shell-script-881592/)

anishkumarv 05-19-2011 08:31 AM

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.

catkin 05-19-2011 09:54 AM

If you can do it at the command line then it can almost certainly be scripted. Can you do it at the command line?

anishkumarv 05-20-2011 12:38 AM

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!!!!

catkin 05-20-2011 12:57 AM

How do you "manually checking for every customer's user account whether its login or not"?

anishkumarv 05-20-2011 04:31 AM

Hi catkin,

using Username and password!! if enter means login successful if not means not login!!!

catkin 05-20-2011 06:20 AM

Quote:

Originally Posted by anishkumarv (Post 4361686)
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?

anishkumarv 05-20-2011 07:00 AM

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??

catkin 05-20-2011 07:13 AM

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 ...

anishkumarv 05-20-2011 07:22 AM

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!!


All times are GMT -5. The time now is 01:53 AM.