Sponsored Content
Top Forums Shell Programming and Scripting Need help getting a web page to start a server. Post 303025496 by Neo on Sunday 4th of November 2018 05:27:28 AM
Old 11-04-2018
Quote:
Originally Posted by Stuperfied
I did think of that but we are trying to make everything controlled by web interface and this is just one small part of a larger project yet to come.
Hmmm.

I used to think that way, but without really great serve-side sys admin skills you may be creating unnecessary security risks. Even guys like me with a decades of years experience on the server side, do not use the web to do superuser-required tasks. It just takes one mistake and you could lose your server and your data.

Yes, you can kludge solutions together which will work, but they will leave you vulnerable to major security risks.

I suggest you do this with a cron file, to insure your game servers are running, and move on to other tasks Smilie

Never, in the spirit of creating a "perfect solution" do things which leave your server vulnerable. After you have done 100 tasks and written 29999 lines of code, you will forget all the insecure code you wrote and you will have problems later on.

Why make problems for yourself when you can do the same thing in a more secure way which will not expose you to security risks?
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Accessing Web Page

Hello, I am new to unix, but wanted to know how can we fetch data from a web page (i.e. an HTML Page), my requirement is to read an html page and wanted to create a flat file (text file) based on the contents available in the mentioned HTML page. Thanks Imtiaz (3 Replies)
Discussion started by: Imtiaz
3 Replies

2. Shell Programming and Scripting

finding the web page on server

Wish you all a very happy new year. I have a web url "http://marabou.mis.amat.com/cgi-bin/iman?IMAN_server_report=full" where marabou.mis.amat.com is my server name. the page content is below. ********************************************************* TcEng Web server report Thu Jan 4... (4 Replies)
Discussion started by: Krrishv
4 Replies

3. Solaris

Solaris 9 Web Start Upgrade using -nowin - still complains about X server

Hi there. I'm trying to upgrade a Sun Blade 100 to Solaris 9. I downloaded and burned the install, disc 1, disc 2 and tools CDs from Sun. I turned off auto-boot, put in the CD and enter the following: # boot cdrom -nowin The cdrom boot starts, and I get prompted to choose a language... (2 Replies)
Discussion started by: calenti
2 Replies

4. UNIX for Dummies Questions & Answers

Opening web page in remote server

Hi all, I am new to UNIX and so am struggling a bit on using the right commands. I am working on a remote UNIX server and i need to load a web page using firefox. I can use the client IP address to access the web page but i am not able to do so because the command i am typing is wrong. ... (1 Reply)
Discussion started by: greg15
1 Replies

5. Web Development

APACHE: Tie in Web Page login with server login

Hello, I have created a web page on a server using apache and added .htaccess and .htpasswd in the folder for authentification. I was wondering if there was anyway to tie-in the login for this page with the login used to logon to the server. i.e. the same login info. is used for both,... (2 Replies)
Discussion started by: WhotheWhat
2 Replies

6. Cybersecurity

APACHE: Tie in Web Page login with server login

Hello, I have created a web page on a server using apache and added .htaccess and .htpasswd in the folder for authentification. I was wondering if there was anyway to tie-in the login for this page with the login used to logon to the server. i.e. the same login info. is used for both, when... (1 Reply)
Discussion started by: WhotheWhat
1 Replies

7. Web Development

Call shell script from HTML page - without web server

Hi, I have html page in my unix machine(server), which I will open with firefox or mozilla available in unix machine. Firefox or mozilla will be opened using x windows. Since I have access to unix machien(like other users) and this HTML page is for user having access to Unix machine, I see no... (7 Replies)
Discussion started by: vamanu9
7 Replies

8. Web Development

Unable to start the apache web server

Hi All, I'm getting this below error bash-4.1$ ./apachectl -k start (98)Address already in use: make_sock: could not bind to address hostname:18000 no listening sockets available, shutting down Unable to open logs I tried to change the port number, still same error: ... (5 Replies)
Discussion started by: raghur77
5 Replies
slweb(1M)																 slweb(1M)

NAME
slweb - start the HP-UX hardware event viewer tool (a Web interface) SYNOPSIS
Path: DESCRIPTION
The HP-UX hardware event viewer tool (slweb) can be used to display hardware events from log files or raw hexadecimal word pairs. The command starts the user interface. Once started the help facility of is available and can be used to learn more about by clicking on field labels or column headings. The HP-UX hardware event viewer tool user interface uses a Web browser. Executing the command without any options performs the following tasks: o create server certificates if needed o start the management Web server if it is not running o start a Web client (browser) An attempt will be made to connect to a Netscape Web browser running on the X server defined by the DISPLAY environment variable. If a running Netscape client is found, it will be used, otherwise a new Netscape session will be initiated. This will only happen if the Net- scape process is running the same system as that referenced by the DISPLAY variable, unless the option is used. If is executed without any options, the server will stop automatically after a period of inactivity. If the server is started explicitly using it will run until the system is rebooted or the server is stopped with Options The recognizes the following options: Display events on a remote system ( hostname), using a client on the local system. The Web server on the remote system must already be running. Forces a client browser to be used in less secure ways. Two security features are overridden by the option. The option forces the client browser to be used or started, even if the X-traffic between the X-server and the Netscape browser is not secure. If is executed by privileged user with the option, a temporary login bypass key will be generated. The bypass key allows the user to access the Web interface without having to provide login information again. Only use this option if you are sure the network traffic between the host where Netscape is running, and the host in the DISPLAY variable is secure. Forces the creation of new server certificates. This can be performed if the server's certificates expire, or if the security of the certificates has been compromised. When new certificates are created, the command will also restart the slweb Web server. The option is only available to the because it requires creation of an SSL certificate. The option is only available to the stops the running slweb Web server. starts the slweb Web server, if started this way, it will run until rebooted or until stopped with displays the status of the slweb Web server. stops and then starts ( the slweb Web server. Security Certificates will generate an SSL certificate authority and use that to sign a generated SSL certificate. Because this certificate is self signed, your web browser will probably prompt you to see if you want to accept this certificate before it connects to the HP-UX hardware event viewer application. It is possible to accept these certificates each time, just for the session, or you can accept the certificates on a permanent basis (10 years), and not have to accept them again later. regenerates the certificates when they are not there, if the hostname is changed on the system, or when the option is used. Online Help Once the HP-UX hardware event viewer is started, the online help provides details on how to use the tool. RETURN VALUES
Upon completion, returns one of the following values: Successful. An error occurred. WARNINGS
Accepting a certificate saves an identifier for the certificate in a file where the browser is running. If you reinstall the gui, the cer- tificate will be altered, and some browsers report the change in id as a potential security violation. When this happens, you have to instruct your browser to delete the saved certificate. On Netscape 4.7x this is done by selecting the menu pick. On the resulting dialog box, select the " area and delete any certificates for machine associated with the security violation. AUTHORS
slweb was developed by Hewlett-Packard REFERENCES
See the "privileges" man page for more information on the slweb(1M)
All times are GMT -4. The time now is 10:27 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy