-
getting form information to CGI
Following up on my saga. I have loaded the show_env.cgi to a custom menu. Works great. However, when I move this from iw-bin to iw-bin/project/showenv.cgi weird things happen. I still see the cookies and the environment variables, but the FORMs section is empty. Since this has the most interesting information (like the…
-
login cookie affecting custom menu ?
OK, so I promise I have not been drinking (yet). Playing with custom menus (solaris 8 WIn client, TS 5.5.2) Any custom menu change I make will not show up until I logout of TS and re-login. I changed the browser to not cache, I tried iwreset. Only out of TS and back in will show the new menu change. I was makign a very…
-
simple CGI/custom menu Q
Hi I am hacking up a custom menu to kick off a cgi. The question I have is, how can I tell which object has been selected ? Any easy ways ? Sample code appreicated. TIA Andy
-
failure on excludePath
I am using OD to move config files from my dev server to prod. Since I have a couple files (iw.cfg, odbase.xml) that are system specific, I want to exclude those. So in my odconfig file I have: <filters> <excludePath subPath="iw-home/OpenDeployNG/conf" /> <excludePattern regex="\iw.cfg$" /> <excludePath…
-
iwodstart segfaults in workflow
Hi I have a WF to invoke a perl scrpt to publish & deploy. The publish piece works fine, deploy seg faults, I can run it from command line with no problem. Enclosed is perl script. Tips/Pointers/RTFMs appreciated Andy Here is my script: #!/u03/iw-home/iw-perl/bin/iwperl $cmd = "/u03/iw-home/bin/iwpublish -g…
-
Multiple publishes per day
Just curious how others handle this; Setting up a dev server. Versioning config files (templates, workflows, *.cfg etc) then workflow. Since we want them initially deployed (to iw-home on the dev server) we will see many deployments per day. Choices are: publish & deploy or file list deploy. Publish & deploy implies that…
-
remote execution of commands
Anyone try using CLTs from machines other than the server ? I am trying on server1 to execute a lock on server2. I have local access to the binarys, but not nfs access to /iwmnt. I was hoping to set IWCLT_SERVER=server2 and execute iwlock. Anyone try this before ? TIA Andy
-
portable iwperl location (hardcoded)
The first line of a script needs to be: #!/usr/iw-home/iw-perl/bin/iwperl Since I am working on a dev server, prod may put the iwhome elsewhere I could use a relative path to iwperl or I can place the iwperl in the system PATH and not and just use: #! iwperl No answer thrills me, what do other companies do ? Andy
-
adding users from admin GUI
I have written up a CGI to automagically add a user to the system (/etc/passwd) as well as adding the user to the appropriate role. The Q I have is can I add this to the Admin screen ? Also, I am versioning the roles files and deploying them to $iwhome, anyway to point the admin server to change the files in the repository…
-
adding CGI.pm to $iwhome/iwperl...
I want to write a couple of CGIs and would rather use CGI.pm than hard code the html in perl. Since this is supported by Perl 5.005_03 (which is the level of iwperl), but the module is not included. Can I just copy in this module (on a Solaris box) & not break anything ? Anybody try this before ? TIA Andy
-
Non-OpenDeploy latest Edition ?
Hi I am deploying to a non-OD system, so I am using iwdelcp, which will take an edition and ship it out. The question I have is what is the easiest way to automagically grab the most recent edition ? BTW, I am creating the edition with iwpublish, but could not find it as a return. TIA Andy
-
ftp mode with iwdelcp ?
I am playing with iwdelcp to transfer files to a non-OD system. The man page says iwdelcp can use rsh (frowned upon) or ftp. However I cannot get ftp mode to work, it sits there, likely since I have no idea how I tell iwdelcp the login and password. Tips/pointers/RTFMs appreciated Andy
-
Commands requiring root access ?
Hi all I am working at a place that also tightly controls root access. I have seen the KB on the files that are setuid, however what I am curious is what commands require root ? There are way too many people on my dev server to test this out, so I am curious if anyone knows for certain on the following commands. Looking…