nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

login

This is a discussion on login within the Shell scripting forums, part of the Development/Scripting category; Hi HO guys. Started work on my games web panel think it will probably take me many years lol. when ...


Go Back   nixCraft Linux Forum > Development/Scripting > Shell scripting

Linux answers from nixCraft.


Shell scripting You can discuss the shell scripting, request shell scripts and scripting techniques

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 25-06-2006, 07:02 PM
Member
User
 
Join Date: Mar 2006
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
sparky
Default login

Hi HO guys.
Started work on my games web panel think it will probably take me many years lol.
when its all done ill be expert at shell scripting perl and php ( i wish)
anys ways couple of questions.
Is there away that when you go to url At the moment www.mysite.com/wpan.php I can have a pop up box prompting for user and pass that would be the same as any ssh users on the server already.
i.e root and roots pass
sparky and sparky pass
foo and foo pass.

ill post 2nd question in seperate topic keep forums neat
Reply With Quote
  #2 (permalink)  
Old 26-06-2006, 07:17 PM
rockdalinux's Avatar
Is that all you got?
User
 
Join Date: May 2005
Location: Planet Vegeta
OS: Redhat
Posts: 705
Thanks: 15
Thanked 19 Times in 18 Posts
Rep Power: 10
rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light
Default

Sparky,

you can configure a web server for password prompt. It is called password protected directory.

However, do not use UNIX/Linux system accounts i.e. root, user etc until and unless you have ssl / https connection.

First create directory called cp, put wpan.php inside cp dir and password protect this /cp/ directory. So if your url should look like as follows:
www.mysite.com/cp/wpan.php

Instructions for password protecting directory, apache password protect directories with .htaccess file: http://www.cyberciti.biz/faqs/2006/0...irectories.php

BTW, which games do you have?
__________________
Rocky Jr.
What's wrong? I hope I am not making you uncomfortable...

Never send a boy to do a mans job.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Cannot Login mvibin CentOS / RHEL / Fedora 5 14-05-2008 09:40 AM
Unable to login !!! raina_ajeet Linux software 5 16-01-2008 01:22 AM
dovecot: pop3-login: pop3-login: error while loading shared libraries: libsepol.so.1 raj Mail Servers 1 15-11-2007 10:43 AM
How do I Double KDM (KDE) Login Screens? tom Linux software 1 09-06-2005 02:34 PM
Login Without asking password sonaikar Linux software 1 20-02-2005 04:46 PM


All times are GMT +5.5. The time now is 02:07 PM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38