Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"
Linux Magazine: The source for advanced Linux know-how

 Create an AccountHome | Submit News | Your Account  

Tutorial Menu
Linux Tutorial Home
Table of Contents

· Introduction to Operating Systems
· Linux Basics
· Working with the System
· Shells and Utilities
· Editing Files
· Basic Administration
· The Operating System
· The X Windowing System
· The Computer Itself
· Networking
· System Monitoring
· Solving Problems
· Security
· Installing and Upgrading
· Linux and Windows

Glossary
MoreInfo
Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
FAQ
Copyright Info
Terms of Use
Privacy Info
Disclaimer
WorkBoard
Thanks
Donations
Advertising
Masthead / Impressum
Your Account

Communication
Feedback
Forums
Private Messages
Surveys

Features
HOWTOs
News Archive
Submit News
Topics
User Articles
Web Links

Google
Google


The Web
linux-tutorial.info

Who's Online
There are currently, 199 guest(s) and 0 member(s) that are online.

You are an Anonymous user. You can register for free by clicking here

  

snmpusm




SYNOPSIS

       snmpusm [ common arguments ]  create  username  [cloneFro­
       mUser]
       snmpusm [ common arguments ] delete username
       snmpusm  [ common arguments ] cloneFrom username cloneFro­
       mUser
       snmpusm [ common arguments  ]  passwd  [-Co]  [-Ca]  [-Cx]
       old_passphrase new_passphrase


DESCRIPTION

       Snmpusm is an SNMP application that can be used to do sim­
       ple maintenance on a SNMP agent's User based Security Mod­
       ule  (USM)  table.   You  can  create,  delete, clone, and
       change the password of users configured on a running  SNMP
       agent.

       The  SNMPv3  USM specifications (see RFC2574) dictate that
       users are created and maintained by adding  and  modifying
       rows  to  the usmUser MIB table.  To create a new user you
       simply create the row using an snmpset.   User's  profiles
       contain  private  keys that are never transmitted over the
       wire in clear text (regardless of whether the  administra­
       tion requests are in encrypted or not).

       The  secret  key  for  a  user is initially set by cloning
       another user in the table, so that a new user inherits the
       cloned user's secret key.  A user can only be cloned once,
       however, after which they must be deleted  and  re-created
       to  be re-cloned.  The authentication and privacy security
       types are also inherited during this cloning (E.G., MD5 vs
       SHA1).  To change the secret key for a user, you must know
       the user's old passphrase as well as  the  new  one.   The
       passwd  sub-command  of  the  snmpusm  command, therefore,
       requires both the new and the old password to be supplied.
       After  cloning  from  the appropriate template, you should
       immediately change the new users password.

       The ucd-snmp agent must first be initialized  so  that  at
       least one user is setup in it before you can use this com­
       mand to clone new ones.  See the snmpd.conf(5) manual page
       on the createUser configuration parameter.


EXAMPLES

       Lets  assume  for our examples that the following VACM and
       USM configurations lines were in the snmpd.conf file for a
       ucd-snmp  agent, which sets up a default user called "ini­
       tial" with the passphrase "setup_password" so that we  can
       perform the initial setup of an agent:
              # VACM configuration entries
              rwuser initial
              Creates a new user, here named "wes" using the user
              "initial" to do it.  "wes" is cloned from "initial"
              in  the process, so he inherits that users password
              ("setup_password").

       snmpusm -v  3  -u  wes  -n  "  -l  authNoPriv  -a  MD5  -A
       setup_password     localhost     passwd    -setup_password
       new_passphrase
              After creating the user "wes" with the  same  pass­
              word  as  the "initial" user, we need to change his
              passphrase for him.  The above command  changed  it
              from "setup_password", which was inherited from the
              initial user, to "new_passphrase".

       snmpget -v  3  -u  wes  -n  "  -l  authNoPriv  -a  MD5  -A
       new_passphrase localhost sysUpTime.0
              If the above commands were successful, this command
              should  have  properly  performed  an authenticated
              snmpv3 GET request to the agent.

       Now, go remove the vacm "group" snmpd.conf entry  for  the
       "initial"  user  and  you have a valid user 'wes' that you
       can use for future transactions instead of initial.


SEE ALSO

       snmpd.conf(5), snmp.conf(5)

                           02 Feb 2000                 SNMPUSM(1)
  




Login
Nickname

Password

Security Code
Security Code
Type Security Code


Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Help if you can!


Amazon Wish List

Did You Know?
The Linux Tutorial welcomes your suggestions and ideas.


Friends



Tell a Friend About Us

Bookmark and Share



Web site powered by PHP-Nuke

Is this information useful? At the very least you can help by spreading the word to your favorite newsgroups, mailing lists and forums.
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Articles are the property of their respective owners. Unless otherwise stated in the body of the article, article content (C) 1994-2013 by James Mohr. All rights reserved. The stylized page/paper, as well as the terms "The Linux Tutorial", "The Linux Server Tutorial", "The Linux Knowledge Base and Tutorial" and "The place where you learn Linux" are service marks of James Mohr. All rights reserved.
The Linux Knowledge Base and Tutorial may contain links to sites on the Internet, which are owned and operated by third parties. The Linux Tutorial is not responsible for the content of any such third-party site. By viewing/utilizing this web site, you have agreed to our disclaimer, terms of use and privacy policy. Use of automated download software ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and are therefore expressly prohibited. For more details on this, take a look here

PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.09 Seconds