Skip to main content
  1. Create new_user if not other existing user.

    Create new_user if not other existing user.

  2. if you turned on auto login option, you need to disable that option and reboot then login to new_user created.

    If you turned on auto login option, you need to disable that option and reboot then login to new_user created.

  3. add new_user to the sudoers file.

    Add new_user to the sudoers file.

  4. Now you can use chmod command from new_user created.

    Now you can use chmod from the new_user account that you have just created. For example:

    Example: sudo usermod -l new_username -d /home/new_directory -m old_username
    sudo usermod -l new_username -d /home/new_directory -m old_username 
  1. Create new_user if not other existing user.
  2. if you turned on auto login option, you need to disable that option and reboot then login to new_user created.
  3. add new_user to the sudoers file.
  4. Now you can use chmod command from new_user created. Example: sudo usermod -l new_username -d /home/new_directory -m old_username
  1. Create new_user if not other existing user.

  2. If you turned on auto login option, you need to disable that option and reboot then login to new_user created.

  3. Add new_user to the sudoers file.

  4. Now you can use chmod from the new_user account that you have just created. For example:

    sudo usermod -l new_username -d /home/new_directory -m old_username 
Rollback to Revision 1 - Edit approval overridden by post owner or moderator
Source Link

1. Create new_user if not other existing user.

2. if you turned on auto login option, you need to disable that option and reboot then login to new_user created.

3. add new_user to the sudoers file.

4. Now you can use chmod command from new_user created.

Example: sudo usermod -l new_username -d /home/new_directory -m old_username

  1. Create new_user if not other existing user.
  2. if you turned on auto login option, you need to disable that option and reboot then login to new_user created.
  3. add new_user to the sudoers file.
  4. Now you can use chmod command from new_user created. Example: sudo usermod -l new_username -d /home/new_directory -m old_username

1. Create new_user if not other existing user.

2. if you turned on auto login option, you need to disable that option and reboot then login to new_user created.

3. add new_user to the sudoers file.

4. Now you can use chmod command from new_user created.

Example: sudo usermod -l new_username -d /home/new_directory -m old_username

  1. Create new_user if not other existing user.
  2. if you turned on auto login option, you need to disable that option and reboot then login to new_user created.
  3. add new_user to the sudoers file.
  4. Now you can use chmod command from new_user created. Example: sudo usermod -l new_username -d /home/new_directory -m old_username
  1. Create new_user if not other existing user.
  2. if you turned on auto login option, you need to disable that option and reboot then login to new_user created.
  3. add new_user to the sudoers file.
  4. Now you can use chmod command from new_user created. Example: sudo usermod -l new_username -d /home/new_directory -m old_username

1. Create new_user if not other existing user.

2. if you turned on auto login option, you need to disable that option and reboot then login to new_user created.

3. add new_user to the sudoers file.

4. Now you can use chmod command from new_user created.

Example: sudo usermod -l new_username -d /home/new_directory -m old_username

  1. Create new_user if not other existing user.
  2. if you turned on auto login option, you need to disable that option and reboot then login to new_user created.
  3. add new_user to the sudoers file.
  4. Now you can use chmod command from new_user created. Example: sudo usermod -l new_username -d /home/new_directory -m old_username

1. Create new_user if not other existing user.

2. if you turned on auto login option, you need to disable that option and reboot then login to new_user created.

3. add new_user to the sudoers file.

4. Now you can use chmod command from new_user created.

Example: sudo usermod -l new_username -d /home/new_directory -m old_username

Source Link
Loading