Change the profile directory of the user Args: name (str): The name of the user whose profile you wish to change profile (str): The new location of the profile Returns: bool: ``True`` if successful, otherwise ``False``. CLI Example: .. code-block::
(name, profile)
| 660 | |
| 661 | |
| 662 | def chprofile(name, profile): |
| 663 | """ |
| 664 | Change the profile directory of the user |
| 665 | |
| 666 | Args: |
| 667 | |
| 668 | name (str): The name of the user whose profile you wish to change |
| 669 | |
| 670 | profile (str): The new location of the profile |
| 671 | |
| 672 | Returns: |
| 673 | bool: ``True`` if successful, otherwise ``False``. |
| 674 | |
| 675 | CLI Example: |
| 676 | |
| 677 | .. code-block:: bash |
| 678 | |
| 679 | salt '*' user.chprofile foo \\\\fileserver\\profiles\\foo |
| 680 | """ |
| 681 | return update(name=name, profile=profile) |
| 682 | |
| 683 | |
| 684 | def chfullname(name, fullname): |