06-01-2004
dont know never used it..
4 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all,
I wish to build a few packages for my embedded target running linux over ARM9. It would be tough for me to compile my packages on target so I need to build on a host machine and then transfer the generated binaries. So I got the source-tarball for the packages I need. Now here are my two... (0 Replies)
Discussion started by: Rakesh Ranjan
0 Replies
2. UNIX for Dummies Questions & Answers
I'm looking for a really simple to use lightweight database. Ideally something open-source that stores data in a (semi-) human-readable format, in case the software isn't working.
Something cross-platform enough that I can use it on my Linux machine, my Mac, or stick it on a USB stick and... (2 Replies)
Discussion started by: emdan
2 Replies
3. Debian
Hi Ive been trying for days now and i just cannot work this out.
Can someone please tell me if im doing this right.
I've written some python3.3 code and now i want to transfer it to an embedded computer to execute.
My OS is a : Debian GNU/Linux 6.0.7 (squeezez) 32-bit kernel
... (0 Replies)
Discussion started by: RedEyedDog
0 Replies
4. UNIX for Dummies Questions & Answers
Hi Ive been trying for days now and i just cannot work this out.
Can someone please tell me if im doing this right.
I've written some python3.3 code and now i want to transfer it to an embedded computer to execute.
My OS is a : Debian GNU/Linux 6.0.7 (squeezez) 32-bit kernel
The... (1 Reply)
Discussion started by: RedEyedDog
1 Replies
LEARN ABOUT DEBIAN
catalyst::plugin::authentication::credential::nopassword
Catalyst::Plugin::Authentication::Credential::NoPasswordUser)Contributed Perl DocumenCatalyst::Plugin::Authentication::Credential::NoPassword(3pm)
NAME
Catalyst::Authentication::Credential::NoPassword - Authenticate a user without a password.
SYNOPSIS
use Catalyst qw/
Authentication
/;
package MyApp::Controller::Auth;
sub login_as_another_user : Local {
my ($self, $c) = @_;
if ($c->user_exists() and $c->user->username() eq 'root') {
$c->authenticate( {id => c->req->params->{user_id}}, 'nopassword' );
}
}
DESCRIPTION
This authentication credential checker takes authentication information (most often a username) and retrieves the user from the store. No
validation of any credentials is done. This is intended for administrative backdoors, SAML logins and so on when you have identified the
new user by other means.
CONFIGURATION
# example
<Plugin::Authentication>
<nopassword>
<credential>
class = NoPassword
</credential>
<store>
class = DBIx::Class
user_model = DB::User
role_relation = roles
role_field = name
</store>
</nopassword>
</Plugin::Authentication>
METHODS
authenticate ( $c, $realm, $authinfo )
Try to log a user in.
perl v5.14.2 2012-04-14 Catalyst::Plugin::Authentication::Credential::NoPassword(3pm)