Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: geffry
  • Content: Threads
  • Order by date
  1. geffry

    Perl-> Telnet problem.. HELP PLS

    Hi, I have a script which logins to many unix stations and executes a command and gets the output. In some of the unix stations,it is not able to get the prompt after login and it times out. I found out that the problem is due to, login: xyz Password: Last login: Wed Apr 20 10:06:28 from...
  2. geffry

    Authentication problems

    Hi, my .htacces file looks like this, ".htaccess" 5 lines, 174 characters AuthUserFile '/opt/local/apache/conf/passwd' AuthGroupFile /dev/null AuthName "Restricted Area - Enter UNIX Login ID" AuthType Basic require valid-user When i open the web-page,it prompts for entering the...
  3. geffry

    cannot findELF

    when i start the apache by running apachectl as nobody user.. i get the below msg, $ /opt/local/apache/bin/apachectl configtest httpd: Cannot findELF Killed Os: Solaris 2.8 apache_1.3.27
  4. geffry

    apache installation base directory

    when i install the Apache on solaris box it install by default on /usr/local/apache.... I do by using pkgadd -d .... Is there way to change the installation base directory to some thing like /opt/local/ instead of /usr/local I downloaded the Apache installable from sun freeware.
  5. geffry

    messages on terminal window

    Hi, i get the following messages dumped on all my terminal windows quite often. Dec 6 00:58:02 ws42 sendmail[4592]: [ID 801593 mail.alert] iB65rYw04592: SYSERR(root): savemail: cannot save rejected email anywhere how do i prevent this msg appearing on the terminal windows.
  6. geffry

    replace multiple lines in a file

    Hi, I have a file where there are 10 lines. In a shell script i get some user input, Now i have to update the lines 2,4,7 (example) in that file. and update the contents of the file with these values. I can do it by writing to a temporary file and then renaming the file. I don't want to...
  7. geffry

    Help, in posting data on dynamic created table

    I am creating a table dynamically (with values obtained from database ) with code as below, In each row of a table in the last field a "Reserve" button is present. When the user clicks the reserver button the form calls another perl file, but i am not able to post the data in first field of...
  8. geffry

    running system command in perl and setuid problem

    I have a perl file in cgi-bin dir, which needs to run a system command, which requires root priviledge. my apache server runs as user nobody, so i changed the setuid of the perl script (chmod 4711 xyz.pl ), when i run i get the below error Insecure dependency in `` while running setuid at...
  9. geffry

    to get env in perl

    I am using an apache server and run perl scripts placed cgi-bin. I have secured the site using .htaccess . my problem is. How do I get the user name which was authenticated by apache in the perl script ? (which the user tries to access.. ) Is the user name stored in the browser env, how do we...
  10. geffry

    does not wait in the shell script

    i have a shell script which is like below =================== A () { calls some external commands and gets the output } B () { sends mails using mailx command with output of the function A (which is file produced) } main () { A B } =========== my problem is before the...
  11. geffry

    get a value from the contents of file

    I have file with lot of values.. I need to take out values from a file using shell script file looks like =========== start:1 (some unique number) xyz: (some value..) abc: (some value..) end:1 start:2 xyz: (some value..) abc: (some value..) end:2 .. start:n xyz: (some value..) abc: (some...
  12. geffry

    is this possible ??

    I need to print a message from isql. print 'Text is ' + @name I need to print my string and the value of the variable @name in the same line. print 'Text is' print @name If i do like this a new line appears, Can i combine the above two prints to get the ouput in a single line. thanks
  13. geffry

    help on cursors

    Hi, I am using sybase 12_1 on unix. I need to drop all procedures starting with a particular pattern. declare @procname varchar(60) declare proc_cursor cursor for select name from sysobjects where type = 'P' and name like 'abc%' open proc_cursor fetch next from proc_cursor into @procname...
  14. geffry

    read alphanumeric characters

    Hi, I need to validate a user entered input, the input must be alphanumeric characters. What is the method to do in shell script. Should i grep for each non-alphanumeric character. te1%@i -- is an invalid input .. how to detect . In perl it is easy.

Part and Inventory Search

Back
Top