9 More Discussions You Might Find Interesting
1. Solaris
I use plink.exe to automate remote commands that return data to Windows machines. This works well on newer servers running Red Hat since the commands were developed for bash and the designated user's login shell is bash. I need to also support older servers which are running Solaris 10 but the... (5 Replies)
Discussion started by: randman1
5 Replies
2. UNIX for Advanced & Expert Users
Hello,
we have an problem on kubuntu16.04 that when i login with ldap, and it is my first login, nothing is copied from skel. With SSH it is working fine. Can anyone say we how KDE setup an new first userlogin? Tested with SDDM and Lightdm. Thanks a lot!
Best Regard
darktux
----------... (1 Reply)
Discussion started by: darktux
1 Replies
3. UNIX for Advanced & Expert Users
Hey folks,
When a user is added to a new group, the user has to be log out and log in again to make the new group effective. Is there any system command or technique to refresh user group ID update without re-login?
I am not talking about to use "login" or "su -l" commands which can only make... (2 Replies)
Discussion started by: hce
2 Replies
4. Shell Programming and Scripting
Hi,
How i can pass the login details to the URL which is password protected with the htaccess using command line or script (perl,or shell,or php).
Any help or hint appreciated.
Thanks,
SJ (4 Replies)
Discussion started by: SilvesterJ
4 Replies
5. AIX
I want to learn AIX. I would like to find someone who would be willing to give me a login to their AIX home lab server. My intent is to poke around and discover the similarities and differences of AIX compared to other *NIXs.
I am a UNIX admin so I can think of what some immediate concerns may... (1 Reply)
Discussion started by: perl_in_my_shel
1 Replies
6. HP-UX
why I can login by telnet using root account
but when i use login by ssh using root account
it is not successful ,is it different password
i am sure ssh service is started (2 Replies)
Discussion started by: alert0919
2 Replies
7. Solaris
Hello World ~
HW : SUN Fire V240
OS : Solaris 8
Error message prompts 'rmclomv ... SC login failure ...' on terminal.
and
Error Message prompts continually 'SC Login Failure for user Please login:' on Single Mode(init S)
The System is in normal operation, though
In case of rain, Can... (1 Reply)
Discussion started by: lifegeek
1 Replies
8. Cybersecurity
Hello,
I have created a web page on a server using apache and added .htaccess and .htpasswd in the folder for authentification.
I was wondering if there was anyway to tie-in the login for this page with the login used to logon to the server.
i.e. the same login info. is used for both, when... (1 Reply)
Discussion started by: WhotheWhat
1 Replies
9. Web Development
Hello,
I have created a web page on a server using apache and added .htaccess and .htpasswd in the folder for authentification.
I was wondering if there was anyway to tie-in the login for this page with the login used to logon to the server.
i.e. the same login info. is used for both,... (2 Replies)
Discussion started by: WhotheWhat
2 Replies
CatalystX::SimpleLogin::Controller::Login(3pm) User Contributed Perl Documentation CatalystX::SimpleLogin::Controller::Login(3pm)
NAME
CatalystX::SimpleLogin::Controller::Login - Configurable login controller
SYNOPSIS
# For simple useage exmple, see CatalystX::SimpleLogin, this is a
# full config example
__PACKAGE__->config(
'Controller::Login' => {
traits => [
'WithRedirect', # Optional, enables redirect-back feature
'-RenderAsTTTemplate', # Optional, allows you to use your own template
],
actions => {
login => { # Also optional
PathPart => ['theloginpage'], # Change login action to /theloginpage
},
},
},
);
See CatalystX::SimpleLogin::Form::Login for configuring the form.
DESCRIPTION
Controller base class which exists to have login roles composed onto it for the login and logout actions.
ATTRIBUTES
login_form_class
A class attribute containing the class of the form to be initialised. One can override it in a derived class with the class of a new form,
possibly subclassing CatalystX::SimpleLogin::Form::Login. For example:
package MyApp::Controller::Login;
use Moose;
extends('CatalystX::SimpleLogin::Controller::Login');
has '+login_form_class' => (
default => "MyApp::Form::Login",
);
1;
login_form_class_roles
An attribute containing an array reference of roles to be consumed by the form. One can override it in a similar way to "login_form_class":
package MyApp::Controller::Login;
use Moose;
extends('CatalystX::SimpleLogin::Controller::Login');
has '+login_form_class_roles' => (
default => sub { [qw(MyApp::FormRole::Foo MyApp::FormRole::Bar)] },
);
1;
METHODS
BUILD
Cause form instance to be built at application startup.
do_post_login_redirect
This method does a post-login redirect. TODO for BOBTFISH - should it even be public? If it does need to be public, then document it
because the Pod coverage test failed.
login
Login action.
login_redirect
Redirect to the login action.
login_GET
Displays the login form
login_POST
Processes a submitted login form, and if correct, logs the user in and redirects
not_required
A stub action that is anchored at the root of the site ("/") and does not require registration (hence the name).
redirect_after_login_uri
If you are using WithRedirect (i.e. by default), then this methd is overridden to redirect the user back to the page they intially hit
which required authentication.
Note that even if the original URI was a post, then the redirect back will only be a GET.
If you choose NOT to compose the WithRedirect trait, then you can set the uri users are redirected to with the "redirect_after_login_uri"
config key, or by overriding the redirect_after_login_uri method in your own login controller if you need custom logic.
render_login_form
Renders the login form. By default it just calls the form's render method. If you want to do something different, like rendering the form
with a template through your view, this is the place to hook into.
required
A stub action that is anchored at the root of the site ("/") and does require registration (hence the name).
SEE ALSO
CatalystX::SimpleLogin::TraitFor::Controller::Login::WithRedirect
CatalystX::SimpleLogin::Form::Login
AUTHORS
See CatalystX::SimpleLogin for authors.
LICENSE
See CatalystX::SimpleLogin for license.
perl v5.14.2 2012-07-15 CatalystX::SimpleLogin::Controller::Login(3pm)