Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 05-09-2002, 09:13 AM   #1
LQ Newbie
Registered: May 2002
Posts: 1

Rep: Reputation: 0
adding new user from jsp page

I have problem.
I am a programmer in a reputed company in my country.
Recently i developed a Prepaid billing system using java language.
But the problem is:
I can not create new user in linux system from jsp page(Java Server page), and also I can not change the linux system password from my page.
Is it possible by using jsp technology or Servlets technology.
If anybody know this please mail me the following mail address.

Grameen software Ltd.

Last edited by mukit; 05-20-2002 at 01:02 AM.
Old 05-19-2002, 08:10 AM   #2
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Um, JSP is what?
Old 05-19-2002, 08:14 AM   #3
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
MasterC, any chance you can be a little more conservative abuot posting? While mr/miss/mrs mukit might be glad that the post is bounced, asking what JSP is isn't gonna help them get an answer. it's Java Server Pages tho. servlet? something like that.
Old 05-23-2002, 09:04 AM   #4
Registered: Feb 2002
Location: England
Distribution: MDK8.2
Posts: 128

Rep: Reputation: 15

I dunno much about linux programming, but here's how I'd go about it.
Have your JSP / Servlet make a call to the native function that actually changes the password. If there's not one to do this, you could try another method, such as:
Have your servlet make a native call to a C function which simply runs a shell script that you've written to change the details you require.

If you know a bit of C/shell this wouldn't take long at all.
Good luck.


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
Adding LQ Bookmarks on the main page LinuxLala LQ Suggestions & Feedback 4 07-28-2005 11:53 AM
will adding more ram reduce the number of page faults? jwn7 General 2 01-16-2005 05:31 PM
can a JSP page implement an interface? eantoranz Programming 2 11-09-2004 11:19 AM
Want to run debugger through JSP page... kirti Linux - Software 0 06-10-2004 08:25 AM
XML; Adding a Page Title RJW Programming 6 12-21-2003 11:58 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:15 PM.

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