09-04-2007
Quote:
Originally Posted by
deaconf19
are all these users on one client or multiple clients?
same client
10 More Discussions You Might Find Interesting
1. AIX
I have 02 servers:
- Linux RHEL AS 3 (server1)
- AIX 5.2 (server2)
Running the command rsh server2 passwd derje from the server1 to change derje user password on server2, give me this error:
3004-709 Error while changing the password for "derje"
Can somebody help me ? (0 Replies)
Discussion started by: mayge
0 Replies
2. Shell Programming and Scripting
Hi,
Does anybody know how to change the password on multiple servers with a script. I have 300 Sun boxes and the password expiry is set to 30 days. Im in a process to build a script using expect. Need a help from an expert who has already done it.
Regards,
Vinod (1 Reply)
Discussion started by: chellam
1 Replies
3. Linux
Hi all,
I'm having an issue resetting an Linux user password. As root, I type 'passwd <username>, enter the new password, but the user is still Access Denied. Can someone assist me in figuring this one out?
The box is running "Linux trm62 2.4.21-15.ELsmp #1 SMP Thu Apr 22 00:18:24 EDT 2004... (6 Replies)
Discussion started by: bbbngowc
6 Replies
4. Solaris
i created 1 user . Now its passwd time period get expired.
Now how can I set password for that user. Also how can I set a condition such a way that after every 3 months user must change his passwd. (5 Replies)
Discussion started by: ajitkraj
5 Replies
5. Solaris
I'm fairly inexperienced with LDAP and DSEE so to build my skills I installed directory server in the global zone of my Sol 10/u7 machine and created a zone to use as a client. For some reason when I try to change a users password as root (in the client zone) with passwd -r ldap I am prompted for... (1 Reply)
Discussion started by: ilikecows
1 Replies
6. UNIX for Dummies Questions & Answers
HI All,
I am using solaris
i created a user adam and updated his permissions
in vi sudoers file as follows
adam ALL=(ALL) NOPASSWORD: ALL
...........
when i create user by logging as sudo user .
$ sudo useradd -d /home/kalyan -m -s /bin/sh kalyan
sudo: not found
... (6 Replies)
Discussion started by: kalyankalyan
6 Replies
7. Shell Programming and Scripting
Hi All,
I have one requirment..
I need to change my id to some sudo account in a server.. Actually our username/passwd will be stored in one gip file like below...
$cat .a.gz #It's hidden file
username
passwd
$
So I tried the below script to pass the password when i sudo to... (7 Replies)
Discussion started by: raghu.iv85
7 Replies
8. Shell Programming and Scripting
i want to change user to "root" from another user while running a script. how can i automatically feed the password? for example, i want to write a script say "script.sh"... it will first run the command "p" as mhmn user, and then it will change the user to "root" by using "su - root" command. at... (1 Reply)
Discussion started by: mhmn
1 Replies
9. Shell Programming and Scripting
Hi,
I have a requirement where in i need to write a shell script to set users password to never expire. I know the command which is used to perform the same .. which is chage command.
But, could not figure out how to do the same in shell script.
Could you please help me with the shell... (3 Replies)
Discussion started by: suren424
3 Replies
10. Solaris
We run Solaris 11. We have a root login constraint that we can login to the root only after doing a su from a generic account called "cloneroot". We somehow misplaced the password for the cloneroot account recently. So, we can't login to root. We have other accounts (eg. oracle) where we can login... (1 Reply)
Discussion started by: jtamminen
1 Replies
LEARN ABOUT DEBIAN
knife-client
KNIFE-CLIENT(1) Chef Manual KNIFE-CLIENT(1)
NAME
knife-client - Manage Chef API Clients
SYNOPSIS
knife client sub-command (options)
SUB-COMMANDS
Client subcommands follow a basic create, read, update, delete (CRUD) pattern. The Following subcommands are available:
BULK DELETE
knife client bulk delete regex (options)
Delete clients where the client name matches the regular expression regex on the Chef Server. The regular expression should be given as a
quoted string, and not surrounded by forward slashes.
CREATE
knife client create client name (options)
-a, --admin
Create the client as an admin
-f, --file FILE
Write the key to a file
Create a new client. This generates an RSA keypair. The private key will be displayed on STDOUT or written to the named file. The public
half will be stored on the Server. For chef-client systems, the private key should be copied to the system as /etc/chef/client.pem.
Admin clients should be created for users that will use knife to access the API as an administrator. The private key will generally be
copied to ~/.chef/client\_name.pem and referenced in the knife.rb configuration file.
DELETE
knife client delete client name (options)
Deletes a registered client.
EDIT
client edit client name (options)
Edit a registered client.
LIST
client list (options)
-w, --with-uri
Show corresponding URIs
List all registered clients.
REREGISTER
client reregister client name (options)
-f, --file FILE
Write the key to a file
Regenerate the RSA keypair for a client. The public half will be stored on the server and the private key displayed on STDOUT or written to
the named file. This operation will invalidate the previous keypair used by the client, preventing it from authenticating with the Chef
Server. Use care when reregistering the validator client.
SHOW
client show client name (options)
-a, --attribute ATTR
Show only one attribute
Show a client. Output format is determined by the --format option.
DESCRIPTION
Clients are identities used for communication with the Chef Server API, roughly equivalent to user accounts on the Chef Server, except that
clients only communicate with the Chef Server API and are authenticated via request signatures.
In the typical case, there will be one client object on the server for each node, and the corresponding client and node will have identical
names.
In the Chef authorization model, there is one special client, the "validator", which is authorized to create new non-administrative clients
but has minimal privileges otherwise. This identity is used as a sort of "guest account" to create a client identity when initially setting
up a host for management with Chef.
SEE ALSO
knife-node(1)
AUTHOR
Chef was written by Adam Jacob adam@opscode.com with many contributions from the community.
DOCUMENTATION
This manual page was written by Joshua Timberman joshua@opscode.com. Permission is granted to copy, distribute and / or modify this docu-
ment under the terms of the Apache 2.0 License.
CHEF
Knife is distributed with Chef. http://wiki.opscode.com/display/chef/Home
Chef 10.12.0 June 2012 KNIFE-CLIENT(1)