LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 03-08-2009, 03:30 PM   #1
lappy
LQ Newbie
 
Registered: Mar 2009
Posts: 4

Rep: Reputation: 0
cgi with perl or shell script


Hey guys
I'm looking for script to where I can be able to add users to a physical machine from a remote form. I have finished the remote form already via html now I need a perl or bash script that will be integrated via cgi for this form to execute, Any kind of links or options would work at this point I have Googled and have even played with a few scripts and all I have gotten is to e-mail notify my self or others. Any ideas would help me alot.

The following commands are:

useradd
pw
addusr


I would really like to access my form and add users to my system via the web via a secure connection (mod_ssl is already loaded on apache)

Thank you guys.
 
Old 03-08-2009, 04:07 PM   #2
hedgy102
Member
 
Registered: Mar 2009
Distribution: Debian,Centos
Posts: 30

Rep: Reputation: 16
Hi,

Would Webmin http://www.webmin.com/ help?
 
Old 03-08-2009, 10:43 PM   #3
sundialsvcs
Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 5,401

Rep: Reputation: 1119Reputation: 1119Reputation: 1119Reputation: 1119Reputation: 1119Reputation: 1119Reputation: 1119Reputation: 1119Reputation: 1119
When considering this problem, don't overlook the possibility that you can change the remote system so that it authenticates logins using a centrally-managed data source, e.g. LDAP.[/i] (Or even, if you like, from a Windows domain-controller.)

(LDAP is what Microsoft calls "Open Directory.")

In other words, instead of crufting a way to manage the user-table of a remote system from a distance, as you now are contemplating, you arrange for the remote system to not use its own password-table to authenticate logins. Instead, it issues the request to a common repository. Now, users can log in to the remote system (if permitted to do so) using the same common login-identifiers they use already use elsewhere.

Linux really does "play well with others."
 
  


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
perl cgi script and images. sholah Linux - Software 2 03-02-2007 11:20 AM
Directory listing - Calling shell script from a CGI script seran Programming 6 08-11-2005 11:08 PM
exec a C prg in a CGI Perl script jagman Linux - Networking 2 05-31-2005 10:40 AM
CGI/Perl script problems. Randvegeta Linux - Software 8 12-30-2004 12:24 AM
Need Help With My Perl/cgi Authentication Script dutch357 Programming 0 04-11-2003 09:54 AM


All times are GMT -5. The time now is 03:11 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration