Change the full name of the user Args: name (str): The username for which to change the full name fullname (str): The new value for the full name Returns: bool: ``True`` if successful, otherwise ``False``. CLI Example: .. code-block:: bash
(name, fullname)
| 682 | |
| 683 | |
| 684 | def chfullname(name, fullname): |
| 685 | """ |
| 686 | Change the full name of the user |
| 687 | |
| 688 | Args: |
| 689 | |
| 690 | name (str): The username for which to change the full name |
| 691 | |
| 692 | fullname (str): The new value for the full name |
| 693 | |
| 694 | Returns: |
| 695 | bool: ``True`` if successful, otherwise ``False``. |
| 696 | |
| 697 | CLI Example: |
| 698 | |
| 699 | .. code-block:: bash |
| 700 | |
| 701 | salt '*' user.chfullname user 'First Last' |
| 702 | """ |
| 703 | return update(name=name, fullname=fullname) |
| 704 | |
| 705 | |
| 706 | def chgroups(name, groups, append=True): |