Dear my friends... I want to use "<input type="password" ...>" HTML tag. But I am affraid that somebody taps my password. So I want to use https instead of http. I want the users type their password into the input tag through https. But I don't know how to implement that. My homepage is on a server of a webhosting company. Is it only like this," <a href="login.php:810">Click here to do login</a> "? Here is my "/etc/services" file. prabu@mesinprabu:~> grep -n "https" /etc/services 810:https 443/tcp # http protocol over TLS/SSL 811:https 443/udp # http protocol over TLS/SSL Which number does actually pointing to https port ? Thank you very much in advance., __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com
On Tuesday 20 May 2003 22:31, Prabu Subroto wrote:
Dear my friends...
I want to use "<input type="password" ...>" HTML tag. But I am affraid that somebody taps my password. So I want to use https instead of http. I want the users type their password into the input tag through https. But I don't know how to implement that. My homepage is on a server of a webhosting company. Is it only like this," <a href="login.php:810">Click here to do login</a> "?
Here is my "/etc/services" file. prabu@mesinprabu:~> grep -n "https" /etc/services 810:https 443/tcp # http protocol over TLS/SSL 811:https 443/udp # http protocol over TLS/SSL
Which number does actually pointing to https port ?
Thank you very much in advance.,
The 810 and 811 are line numbers (you used the -n option on grep). The 443 is the port number. But you have several questions that need answered. Does you webhosting company support HTTPS? What do you have in the way of a certificate for the server for the SSL? How much are you willing to pay to do this (for the certificate, etc) or is this a personal project and a free certificate is good enough? Will your webhosting company accept a self signed certificate if that is used? Do you have access to configure the https portion of the server or will the webhosting company do that for you? The short answer is <a href="https://hostname/login.php">Click here to do login</a>, but all the other stuff must come first. -- Kelly L. Fulks Home Account
I started using Linux recently and I fell in love with it. I am learning a lot of stuff but I have a lot of questions. 1) I am also trying to learn system programming. Where I can find the source codes for the command line tools like ls, cp, mv, mount and other hundreds of commands. I have Suse 8.1 on my laptop. I could only find the kernel source code, which I am not interested in right now. Does the Suse CDS have it? 2) Another nagging question is, where do I install a new software? /usr/local, /opt or home dir? Until now, I have intalled all the software in my home dir. How do I make them available to other users? Who do I install them as, "root" or a "reqular user"? Do I have to differentiate between system software and application software? for eg: a new browser for every user; a build tool like "ant" just for me. 3) How do I keep track of the software I installed? I mean, some applications are tar balls, others are rpms (binary and source). "rpm" system has a database of its own. What about the tarballs? What if I Install an rpm of an application and try to install the same application again using a tarball? eg: I installed a new orinoco wireless driver, packaged as a tarball. I had to toil, to install it in the right place, to bakup the old module, to document what I have done etc. Too many questions, I guess. I actually have a lot more! (mapping special keys, micro-phone not working, audio-cds cannot be ripped ....) I appreciate your help. Thanks Jay __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com
Hi, On Wednesday 21 May 2003 17:33, jay s wrote:
I started using Linux recently and I fell in love with it. I am learning a lot of stuff but I have a lot of questions.
1) I am also trying to learn system programming. Where I can find the source codes for the command line tools like ls, cp, mv, mount and other hundreds of commands.
I have Suse 8.1 on my laptop. I could only find the kernel source code, which I am not interested in right now. Does the Suse CDS have it?
You can determine the RPM package of a file with: $ rpm -qf /bin/ls coreutils-4.5.8-11 Thus your desired source code might be in coreutils-4.5.8-11.src.rpm. The source RPMs are normally on the SuSE source CD.
2) Another nagging question is, where do I install a new software? /usr/local, /opt or home dir? Until now, I have intalled all the software in my home dir. How do I make them available to other users? Who do I install them as, "root" or a "reqular user"? Do I have to differentiate between system software and application software? for eg: a new browser for every user; a build tool like "ant" just for me.
Usual places are /usr/local and /opt. You need write permissions for these directories.
3) How do I keep track of the software I installed?
RPM
I mean, some applications are tar balls, others are rpms (binary and source). "rpm" system has a database of its own. What about the tarballs? What if I Install an rpm of an application and try to install the same application again using a tarball?
$ rpm -V mypackage will tell you the something corrupted your installation.
eg: I installed a new orinoco wireless driver, packaged as a tarball. I had to toil, to install it in the right place, to bakup the old module, to document what I have done etc.
Too many questions, I guess. I actually have a lot more! (mapping special keys, micro-phone not working, audio-cds cannot be ripped ....)
Ciao Sebastian
Hi Jay, please don't reply to a mail (I guess to get the address of the list) if you want to ask a totally unrelated question like you did. This makes your mail appear in a thread where it doesn't belong. Changing the subject does not suffice. Thanks for your consideration. jay s <opensource22@yahoo.com> [Wed, 21 May 2003 08:33:13 -0700 (PDT)]:
1) I am also trying to learn system programming. Where I can find the source codes for the command line tools like ls, cp, mv, mount and other hundreds of commands.
You have to identify the package the tool belongs to. For installed files this is in most cases easily done by using rpm. First locate the file. It's an executable file (program, shell script etc.), use 'which': # which ls /bin/ls Now query rpm: #rpm -qf /bin/ls Another possibility would be pin. You may have to first install it from the CDs.
I have Suse 8.1 on my laptop. I could only find the kernel source code, which I am not interested in right now. Does the Suse CDS have it?
If you've got the professional version you also have the source code packages.
2) Another nagging question is, where do I install a new software? /usr/local, /opt or home dir?
If you don't want them to be overwritten by an installation or upgrade, you should install them to /usr/local.
I have installed all the software in my home dir. How do I make them available to other users?
By giving other users access to your home directory and the directory the programs reside in.
Who do I install them as, "root" or a "reqular user"?
If you install them anywhere else than your home you have to install them as root.
Do I have to differentiate between system software and application software?
Normally not.
3) How do I keep track of the software I installed? I mean, some applications are tar balls, others are rpms (binary and source). "rpm" system has a database of its own. What about the tarballs?
If you compile from tarballs and then use 'make install', there's no way to keep track. You could use a tool like chkinstall (which tracks what 'make install' does and will build a rpm package), but I'd strongly recommend to get familiar with rpm and learn how to write rpm spec files if the tar ball doesn't provide one.
What if I Install an rpm of an application and try to install the same application again using a tarball?
rpm won't know that you installed a new version. If you use the same paths, it's best to first remove the application via rpm and then install the new version. But as rpm doesn't know you installed it, it'll get overwritten the next time you do an update. Philipp -- Philipp Thomas work: pthomas@suse.de Development, SuSE Linux AG private: philipp.thomas@t-link.de
Thank you all. I guess I should be using a different mailing list. I apologize. Please don't reply to this email. The things I could figure out from the replies I got. 1) Finding the utilities' source code rpm -qf `which command` I have Suse 8.1 Professional. I just not have installed the source code for file-utils, bin-utils. I will install them from the CDs. 2) Installation location most people seems to suggest /usr/local (which will not be overwritten by an upgrade), but I could still find applications (both system & personal) within /opt. I came to a conclusion that it is a religious thing. 3) Tarballs installation There seems to be no way to track software installed with .tar.gz, unless converting them to rpm. Thanks Jay __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com
1) I am also trying to learn system programming. Where I can find the source codes for the command line tools like ls, cp, mv, mount and other hundreds of commands.
salman@linux:~> which cp /bin/cp salman@linux:~> rpm -qf /bin/cp fileutils-4.1-158 So you would need to get the source rpm of fileutils-4.1-158. Once you have it, do rpm -Uvh <source_rpm.rpm> rpm -bp /usr/src/packages/SPECS/<some_spec_file.spec> Then you would need to go to /usr/src/packages/BUILD/<MYPROGRAM> and do a ./configure and make
2) Another nagging question is, where do I install a new software? /usr/local, /opt or home dir? Until now, I have intalled all the software in my home dir. How do I make them available to other users? Who do I install them as, "root" or a "reqular user"? Do I have to differentiate between system software and application software? for eg: a new browser for every user; a build tool like "ant" just for me.
Install it ins /usr/local. I really don't know what goes in /opt. /opt is supposed to be for really large packages I think. in /etc/profile.local, you have to modify path so that /usr/local/bin is in the path. If you are not sure that /usr/local/bin is there or not, do "echo $PATH" and see what you get.
3) How do I keep track of the software I installed? I mean, some applications are tar balls, others are rpms (binary and source). "rpm" system has a database of its own. What about the tarballs? What if I Install an rpm of an application and try to install the same application again using a tarball? eg: I installed a new orinoco wireless driver, packaged as a tarball. I had to toil, to install it in the right place, to bakup the old module, to document what I have done etc.
Install this program named checkinstall (SuSE CDs has it). When you are done ./configuring and making, then instead of running 'make install', you run "checkinstall'. Checkinstall monitors what changes are made by your program, creates an RPM for you and automatically installs it for you. Its kinda like cleansweep for Windows.
Too many questions, I guess. I actually have a lot more! (mapping special keys, micro-phone not working, audio-cds cannot be ripped ....)
participants (6)
-
jay s
-
Kelly L. Fulks
-
Philipp Thomas
-
Prabu Subroto
-
Salman Khilji
-
Sebastian Huber