TotalNET Advanced Server 5.2 Reference Manual

Examples

  1. Use the following command to list all defined utilities:


    tncustom -L
  2. Use the following command to add the command attribute of value /usr/bin/yppasswd to the tnpasswd utility:


    tncustom -A -u tnpasswd -a command="/usr/bin/yppasswd"
  3. Use the following command to modify the tnpasswd utility's new-prompt attribute, of value *[Nn]ew*word::


    tncustom -M -u tnpasswd -a new-prompt="*[Nn]ew*word:"
  4. Use the following command to delete the tnpasswd utility:


    tncustom -D -u tnpasswd
  5. Use the following command to read the value of the user-prompt attribute for the tnpasswd utility:


    tncustom -R -u tnpasswd -a user-prompt
    

    output:


    Enter Your Password: