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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
05-19-2011, 08:31 AM
|
#1
|
|
Member
Registered: Feb 2010
Location: chennai - India
Distribution: centos
Posts: 290
Rep:
|
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.
|
|
|
|
05-19-2011, 09:54 AM
|
#2
|
|
LQ 5k Club
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian Squeeze (server), Slackware 13.37 (netbook), Slackware64 14.0 (desktop),
Posts: 8,357
|
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.
|
05-20-2011, 12:38 AM
|
#3
|
|
Member
Registered: Feb 2010
Location: chennai - India
Distribution: centos
Posts: 290
Original Poster
Rep:
|
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!!!!
|
|
|
|
05-20-2011, 12:57 AM
|
#4
|
|
LQ 5k Club
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian Squeeze (server), Slackware 13.37 (netbook), Slackware64 14.0 (desktop),
Posts: 8,357
|
How do you "manually checking for every customer's user account whether its login or not"?
|
|
|
|
05-20-2011, 04:31 AM
|
#5
|
|
Member
Registered: Feb 2010
Location: chennai - India
Distribution: centos
Posts: 290
Original Poster
Rep:
|
Hi catkin,
using Username and password!! if enter means login successful if not means not login!!!
|
|
|
|
05-20-2011, 06:20 AM
|
#6
|
|
LQ 5k Club
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian Squeeze (server), Slackware 13.37 (netbook), Slackware64 14.0 (desktop),
Posts: 8,357
|
Quote:
Originally Posted by anishkumarv
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?
|
|
|
|
05-20-2011, 07:00 AM
|
#7
|
|
Member
Registered: Feb 2010
Location: chennai - India
Distribution: centos
Posts: 290
Original Poster
Rep:
|
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??
|
|
|
|
05-20-2011, 07:13 AM
|
#8
|
|
LQ 5k Club
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian Squeeze (server), Slackware 13.37 (netbook), Slackware64 14.0 (desktop),
Posts: 8,357
|
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 ...
|
|
|
|
05-20-2011, 07:22 AM
|
#9
|
|
Member
Registered: Feb 2010
Location: chennai - India
Distribution: centos
Posts: 290
Original Poster
Rep:
|
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!!
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:49 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|