Advertisement
coolman_bg84

Untitled

Apr 23rd, 2020
1,021
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.97 KB | None | 0 0
  1.   #fingerprint="67cb9dc013248a829bb2171ed11becd4"
  2.  
  3.       # autologin: If an SSL certificate fingerprint for this oper is specified,
  4.       # you can have the oper block automatically log in. This moves all security
  5.       # of the oper block to the protection of the client certificate, so be sure
  6.       # that the private key is well-protected! Requires the sslinfo module.
  7.       #autologin="on"
  8.  
  9.       # sslonly: If on, this oper can only oper up if they're using an SSL connection.
  10.       # Setting this option adds a decent bit of security. Highly recommended
  11.       # if the oper is on wifi, or specifically, unsecured wifi. Note that it
  12.       # is redundant to specify this option if you specify a fingerprint.
  13.       # This setting only takes effect if the sslinfo module is loaded.
  14.       #sslonly="yes"
  15.  
  16.       # vhost: Overrides the vhost in the type block. Class and modes may also
  17.       # be overridden.
  18.       vhost="attila.example.org"
  19.  
  20.       # type: Which type of operator this person is; see the block
  21.       # above for the list of types. NOTE: This is case-sensitive as well.
  22.       type="NetAdmin">
  23.  
  24. # Operator with a plaintext password and no comments, for easy copy & paste.
  25. <oper
  26.       name="coolman"
  27.       password="12345"
  28.       host="*"
  29.       type="NetAdmin">
  30.  
  31. # Operator with a hashed password. It is highly recommended to use hashed passwords.
  32. <oper
  33.       # name: Oper login that is used to oper up (/OPER <username> <password>).
  34.       # Remember: This is case sensitive.
  35.       name="Adam"
  36.  
  37.       # hash: The hash function this password is hashed with. Requires the
  38.       # module for the selected function (bcrypt, md5, sha1, or sha256) and
  39.       # the password hashing module (password_hash) to be loaded.
  40.       #
  41.       # You may also use any of the above other than bcrypt prefixed with
  42.       # either "hmac-" or "pbkdf2-hmac-" (requires the pbkdf2 module).
  43.       # Create hashed passwords with: /MKPASSWD <hashtype> <plaintext>.
  44.       hash="bcrypt"
  45.  
  46.       # password: A hash of the password (see above option) hashed
  47.       # with /MKPASSWD <hashtype> <plaintext>. See the password_hash module
  48.       # in modules.conf for more information about password hashing.
  49.       password="qQmv3LcF$Qh63wzmtUqWp9OXnLwe7yv1GcBwHpq59k2a0UrY8xe0"
  50.  
  51.  
  52.  
  53.       # host: What hostnames and IPs are allowed to use this operator account.
  54.       # Multiple options can be separated by spaces and CIDRs are allowed.
  55.       # You can use just * or *@* for this section, but it is not recommended
  56.       # for security reasons.
  57.       host="*@127.0.0.1 *@192.0.2.40 *@198.51.100.4 *@46.40.125.160"
  58.  
  59.       # type: Which type of operator this person is; see the block
  60.       # above for the list of types. NOTE: This is case-sensitive as well.
  61.       type="Helper">
  62.  
  63. # Once you have edited this file you can remove this line. This is just to
  64. # ensure that you don't hastily include the file without reading it.
  65. <die reason="Using opers.conf.example without editing it is a security risk">
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement