02-18-2009
Login as a normal user a/c first, su - to root, then do passwd username
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I work on some hp ux 11.00 Servers. i have to add an user. i use the useradd command like follows: useradd -u 72022 -g 71095 -c " comment " -d /PACKAGE_NAME/home/username -s /usr/bin/sh username
The command returns with error 3. The manpage means value number 3: Invalid argument supplied to an... (6 Replies)
Discussion started by: ortsvorsteher
6 Replies
2. UNIX for Advanced & Expert Users
Hi.
due to some needs i gave a user the premission to use useradd command with sudo.
i want to know if there is a way to let him set the initial password, without giving him the premission to use passwd command as root (sudo).
maybe a way to set a default password for all the new users that... (2 Replies)
Discussion started by: dorilevy
2 Replies
3. Solaris
Hi,
I need to add a new user who will only be able to access one single folder on my Solaris 9 system. Can this be achieved by using just useradd or do i need to fiddle with auth_attr table?
TIA,
Selma (4 Replies)
Discussion started by: Selma
4 Replies
4. Shell Programming and Scripting
Gurus,
I need to add a user to all the machines. I need a script to do this. I did one but it does not allow me to su to root within a ssh session i open. It exists saying su: Sorry. Please let me know how i can do it. I do not have the freedom of using sudo either.
Regards (4 Replies)
Discussion started by: earlysame55
4 Replies
5. UNIX for Advanced & Expert Users
Hi Experts,
when using useradd command, what are the necessary options/arguments to be included?
Please advice. (4 Replies)
Discussion started by: etcpasswd
4 Replies
6. Solaris
if useradd command is deleted in solaris how do we add user (3 Replies)
Discussion started by: vivek_ng
3 Replies
7. UNIX for Advanced & Expert Users
Good day all.
I'm trying to add a user with useradd and the -p option to assign a project name, but the result is that the user is created with an error message: "UX: useradd: user.root name should be all lower case or numeric."
The command:
useradd -d /export/home/tester -g rtpgrp -G... (2 Replies)
Discussion started by: BRH
2 Replies
8. Solaris
:wall:i want to create a user in solaris whose password expires after every 30 minutes and he has to change his password after evry thirty minutes.How can we do that?:confused:
thanx and regards,
shekhar (17 Replies)
Discussion started by: shekhar_4_u
17 Replies
9. Solaris
i added a default user by command
useradd shekhar
it took user's default directory as /home/shekhar
now when i am going inside /home and giving this command
cd /home
ls-ld
it is not showing any directory named shekhar? why so?
thanx
shekhar (3 Replies)
Discussion started by: shekhar_4_u
3 Replies
10. Solaris
I want to creat a 27 logins in solaris.Can anyone tell me how to write a script for that so that i create at a time for all 27 people.
Thanks to guide me. (6 Replies)
Discussion started by: kkalyan
6 Replies
LEARN ABOUT DEBIAN
catalystx::simplelogin::form::login
CatalystX::SimpleLogin::Form::Login(3pm) User Contributed Perl Documentation CatalystX::SimpleLogin::Form::Login(3pm)
NAME
CatalystX::SimpleLogin::Form::Login - validation for the login form
DESCRIPTION
A HTML::FormHandler form for the login form.
FIELDS
username
password
remember
submit
METHODS
validate
add_auth_errors
SEE ALSO
CatalystX::SimpleLogin::Controller::Login
CUSTOMIZATION
By default, the params passed to authenticate() are 'username' and 'password'. If you need to use different names, then you'll need to set
the correct value(s) via login_form_args in the configuration. The keys are 'authenticate_username_field_name' and/or
'authenticate_password_field_name'.
__PACKAGE__->config(
'Controller::Login' => {
login_form_args => {
authenticate_username_field_name => 'name',
authenticate_password_field_name => 'password2',
},
},
);
You can also change the way that the form is displayed by setting attributes. In MyApp.pm:
__PACKAGE__->config(
'Controller::Login' => {
login_form_args => {
login_error_message => 'Login failed',
field_list => [
'+submit' => { value => 'Login' },
]
}
},
);
Additional fields can be added:
field_list => [
'foo' => ( type => 'MyField' ),
'bar' => { type => 'Text' },
]
Additional arguments to the authenticate call can be added: If your user table has a column "status" and you want only those with "status =
'active'"to be able to log .in
__PACKAGE__->config(
'Controller::Login' => {
login_form_args => {
authenticate_args => { status => 1 },
},
},
};
AUTHORS
See CatalystX::SimpleLogin for authors.
LICENSE
See CatalystX::SimpleLogin for license.
perl v5.14.2 2011-09-05 CatalystX::SimpleLogin::Form::Login(3pm)