Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Create a simple web portal/GUI to execute scripts? Post 302824223 by poops on Thursday 20th of June 2013 11:17:12 AM
Old 06-20-2013
Thanks all for the starting point

Didn't give security much of a thought! It will be for personal use initially. My eventual intention was to open the tool to everyone, but looks like that will be much further down the line
 

10 More Discussions You Might Find Interesting

1. Linux

web portal <--> linux configuration

dear experts, i m newbies of linux. i found that my linux server does not support the webportal links, causing the filing system in the webportal dissapear as well. i suspect 1st: configuration of linux not set properly, 2nd: access link lost for the filing system. please give me a rough idea... (1 Reply)
Discussion started by: clemeot
1 Replies

2. Shell Programming and Scripting

GUI for shell scripts

I want to create a GUI which runs shell scripts in the background. What should I use for creating that GUI. I would be nice if you could point me to some resources where I can learn to create a GUI (2 Replies)
Discussion started by: lassimanji
2 Replies

3. Shell Programming and Scripting

GUI for bash scripts?

Hello everyone! I'm looking for a way to build a GUI for various bash scripts I've written. Is there any "good" way to do it? I've heard about python/gtk+,qt and other stuff, but I've absolutely no idea where I should look at. Thanks a lot in advance! Regards, xenator EDIT: ... (1 Reply)
Discussion started by: xenator
1 Replies

4. Shell Programming and Scripting

Create A Simple GUI For Shell Script

Hi all! Im wondering if its possible to create a GUI for a shell script I just got done writing as the people that will be using it dont like the command line all to well. Just something simple with radio buttons to select options, maybe a text field to enter a location to save the file generated... (1 Reply)
Discussion started by: Grizzly
1 Replies

5. Solaris

Web gui for mail?

I am using Solaris 10, and would like a web gui for mail or can replace the mail server if needed, it doesnt need to be anything elaborate, just something where i can view mail via a web browser rather than command line and hitting 'd' a 1000 times to delete all my cron job mails etc :p I've... (8 Replies)
Discussion started by: ippy98
8 Replies

6. Shell Programming and Scripting

GUI for cshell scripts

Hi, I want to know whether it is possible to use GUI for cshell scripts? Thanks Sarbjit (0 Replies)
Discussion started by: sarbjit
0 Replies

7. Shell Programming and Scripting

GUI for shell scripts

what GUI can be used with shell scripting for example if i want to say hello in prompted window thnx in advance (3 Replies)
Discussion started by: semosam
3 Replies

8. Fedora

Automatically execute a software without gui at boot

hi all, this is my first post here...i hope that this is the correct section to write my question. I have a distro linux without gui, only text mode. So, it's possible run automatically a command or a program as "top" or "ping" and get the result on the main shell , after the boot and after... (6 Replies)
Discussion started by: gangiaemi
6 Replies

9. Shell Programming and Scripting

Create a GUI from where in we can execute unix commands

Hello Experts, In my current job I need to upgrade a web GUI to execute Unix commands in a server....I am completely new to programming--So can anyone here help me out with initial steps... Please notice that statement completely new to programming means-I never did it, SO I might keep on coming... (1 Reply)
Discussion started by: mhadi
1 Replies

10. Shell Programming and Scripting

Help making simple perl or bash script to create a simple matrix

Hello all! This is my first post and I'm very new to programming. I would like help creating a simple perl or bash script that I will be using in my work as a junior bioinformatician. Essentially, I would like to take a tab-delimted or .csv text with 3 columns and write them to a "3D" matrix: ... (16 Replies)
Discussion started by: torchij
16 Replies
it_tpg_create(3ISCSIT)					iSCSI Management Library Functions				    it_tpg_create(3ISCSIT)

NAME
it_tpg_create, it_tpg_delete, it_tpg_free - create and delete iSCSI target portal groups SYNOPSIS
cc [ flag... ] file... -liscsit [ library... ] #include <libiscsit.h> int it_tpg_create(it_config_t *cfg, it_tpg_t **tpg, char *tpg_name, char *portal_ip_port); int it_tpg_delete(it_config_t *cfg, it_tpg_t *tpg, boolean_t force);); void it_tpg_free(it_tpg_t *tpg); PARAMETERS
cfg a pointer t the iSCSI configuration structure tpg a pointer to the it_tpg_t structure representing the target portal group tpg_name an identifier for the target portal group portal_ip_port a string containing an appropriately formatted IP address:port. Both IPv4 and IPv6 addresses are permitted. This value becomes the first portal in the target portal group. Applications can add additional values using it_portal_create(3ISC- SIT) before committing the target portal group. IPv6 addresses should be enclosed in square brackets ('[', ']'). force boolean value indicating if the target portal group should be removed even if it is associated with one or more targets. If not B_TRUE, the operation will fail if the target product group is associated with a target. DESCRIPTION
The it_tpg_create() function allocates and creates an it_tpg_t structure representing a new iSCSI target portal group. The new it_tpg_t structure is added to the global tpg list (cfg_tgt_list) in the it_config_t structure. The it_tpg_delete() function deletes the target portal group represented by tpg, where tpg is an existing it_tpg_t structure within the global configuration cfg. The it_tpg_free() function deallocates resources associated with an it_tpg_t structure. If tpg->next is not NULL, this function frees all members of the list. Configuration changes as a result of these functions are not instantiated until the modified configuration is committed by calling it_con- fig_commit(3ISCSIT). RETURN VALUES
The it_tpg_create() and it_tpg_delete() functions return 0 on success and an error value on failure. ERRORS
The it_tpg_create() and it_tpg_delete() functions will fail if: EBUSY The portal group is associated with one or more targets. EEXIST The portal was already configured for another portal group associated with this target. EINVAL A parameter is invalid. ENOMEM Resources could not be allocated. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Committed | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+ SEE ALSO
it_config_commit(3ISCSIT), it_ini_create(3ISCSIT), it_portal_create(3ISCSIT), it_tgt_create(3ISCSIT), libiscsit(3LIB), libnvpair(3LIB), libstmf(3LIB), attributes(5) SunOS 5.11 1 Oct 2008 it_tpg_create(3ISCSIT)
All times are GMT -4. The time now is 06:09 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy