Sponsored Content
Full Discussion: Help In Compaq Tru64 UNix
Top Forums UNIX for Dummies Questions & Answers Help In Compaq Tru64 UNix Post 302110655 by Ebbi on Wednesday 14th of March 2007 09:17:24 AM
 

9 More Discussions You Might Find Interesting

1. UNIX Desktop Questions & Answers

tru64 unix

Can anyone help me with tru64 unix. We have just got a new server with this already loaded on, we don't have the CDrom. We are trying to establish the common features ie smit,printers,users and day to day commands. Any help would be greatly appreciated. thanks (8 Replies)
Discussion started by: jacl
8 Replies

2. UNIX Desktop Questions & Answers

tru64 unix

Whick book would I get for dummies learning tru64, ie basics. thankyou (1 Reply)
Discussion started by: jacl
1 Replies

3. UNIX for Dummies Questions & Answers

Tru64 UNIX log in problem

I'm using Tru64 UNIX 4.0 . I restarted the machine and I tried to log in again as an user I get a message saying No directory!. The system log me in as a superuser. I checked and the directory actually is not there. I'm pretty sure that i didn't deleted it. If someone have a clue of what is... (1 Reply)
Discussion started by: iigp1974
1 Replies

4. UNIX for Dummies Questions & Answers

MINFLT on a Tru64 Unix OS

Hello: I have a question here, ¿What is the ps parameter MINFLT on a Tru64 Unix OS?, As far as I can know, it just refers to all the page swaps that have failed when accessing to the memory (RAM). If that is true, i would like to explain my case: I have a process that runs continuosly... (0 Replies)
Discussion started by: Fco
0 Replies

5. HP-UX

Unix HP Tru64

Hi experts, I hope someone can help me with these simple tasks as I am new in Unix environment. I need to create a file system for backup purpose, therefore I need to know the commands in Unix. 1) What is the command to check my disk drives to see how much available space is not allocated... (2 Replies)
Discussion started by: kingsto88
2 Replies

6. Shell Programming and Scripting

Sent mail from unix tru64

hi all, I need send mail from unix tru64 to mymail@domain.com use shell script. i saw result of "man mail", "man mailx" commands on my unix tru64 server, but i don't understand how to sent mail.... Please advice any suggestion or help? (1 Reply)
Discussion started by: Tlg13team
1 Replies

7. UNIX for Dummies Questions & Answers

Tru64-unix

Hello everybody I am new in TRU64 UNIX and i would really appreciate if somebody can help me with some info regarding the classification of the user rights of this OS. The types of user i know from previous experience in HP-UX 11 i is the root user or the superuser, the user admn that is the... (0 Replies)
Discussion started by: adak2010
0 Replies

8. UNIX for Advanced & Expert Users

dd using Digital Unix Tru64

Hi I am posting this in this area because I couldn't find a better place. I am trying to make exact copies of my disk that I use in an old DEC3000. I loaded the one disk then used dd dd if=/dev/rrz0c of=/dev/rrz1c I started this a 6pm last night here in Wales. It is now 2pm the next day,... (4 Replies)
Discussion started by: mndavies
4 Replies

9. HP-UX

DST change on Compaq Tru64

Hello all, I hope someone can help me. We have Compaq Tru64 UNIX V5.1B (Rev. 2650). By latest Belarus government act Europe/Minsk timezone was changed to GMT+3 without DST (was GMT+2 with DST). Please advice how to do changes on our machine. Thank You in advance, md1982 (15 Replies)
Discussion started by: md1982
15 Replies
HTTP::Server::Simple::Authen(3pm)			User Contributed Perl Documentation			 HTTP::Server::Simple::Authen(3pm)

NAME
HTTP::Server::Simple::Authen - Authentication plugin for HTTP::Server::Simple SYNOPSIS
package MyServer; use base qw( HTTP::Server::Simple::Authen HTTP::Server::Simple::CGI); use Authen::Simple::Passwd; sub authen_handler { Authen::Simple::Passwd->new(passwd => '/etc/passwd'); } sub handle_request { my($self, $cgi) = @_; my $user = $self->authenticate or return; ... } MyServer->new->run(); DESCRIPTION
HTTP::Server::Simple::Authen is an HTTP::Server::Simple plugin to allow HTTP authentication. Authentication scheme is pluggable and you can use whatever Authentication protocol that Authen::Simple supports. You can use "authenticate" method whatever you want to authenticate the request. The method returns $username taken from the request if the authentication is successful, and "undef" otherwise. The code in "SYNOPSIS" requires authentication for all the requests and behaves just the same as Apache's "Require valid-user". The following code will explain more about conditioning. sub handle_request { my($self, $cgi) = @_; if ($cgi->path_info =~ m!/foo/!) { my $user = $self->authenticate; return unless defined($user) && length($user) == 8; } ... } This means all the requests to URL "/foo/" require to be authenticated, and usernames with 8 chars long are authorized. METHODS
Your subclass has to override following methods to implement HTTP authentication. authen_handler Should return a valid Authen::Simple instance to authenticate HTTP request (Required). authen_realm Returns a string for Authentication realm to be shown in the browser's dialog box. Defaults to 'Authorized area'. AUTHOR
Tatsuhiko Miyagawa <miyagawa@bulknews.net> This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. SEE ALSO
HTTP::Server::Simple, Authen::Simple perl v5.12.3 2006-01-15 HTTP::Server::Simple::Authen(3pm)
All times are GMT -4. The time now is 01:30 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy