About 2,490,000 results
Open links in new tab
  1. What are the differences between "su", "sudo -s", "sudo -i", "sudo …

    Oct 22, 2011 · The major difference between sudo -i and sudo -s is: sudo -i gives you the root environment, i.e. your ~/.bashrc is ignored. sudo -s gives you the user's environment, so your …

  2. sudo - Sudoers file, enable NOPASSWD for user, all commands

    Aug 19, 2013 · Preface. This is a fairly complex question related to the sudoers file and the sudo command in general. NOTE: I have made these changes on a dedicated machine running …

  3. unix - Command: sudo su - - Super User

    'sudo su -' has a child of 'su -', and 'su -' has a child of '-su'. As mentioned above, root user can do 'su -' without entering password, so doing 'su -' inside of a root shell, you will have two different …

  4. sudo - How do I login as root? - Ask Ubuntu

    Apr 27, 2012 · sudo apt install ntp sudo nano /etc/ntp.conf sudo systemctl restart ntp If the user has authorization, sudo asks for the user's password before executing the command indicated …

  5. How do I add a user to the "sudo" group? - Ask Ubuntu

    Use usermod. Add the sudo permission with the following command: usermod -aG sudo <your username> Please note that you'll have to use the root account to do this or use another …

  6. linux - What does "sudo -s" actually do? - Super User

    Jul 6, 2011 · sudo allows a permitted user to execute a command as the superuser or another user, as specified in the sudoers file.-s Shell, runs the shell specified by the SHELL …

  7. sudo - I want to copy a directory from one place to another via the ...

    Nov 17, 2011 · sudo cp -R Source_Folder Destination_Folder This command can also be used to copy files, by just removing the "-R" which is used to copy the recursive structure of internal …

  8. Is there any 'sudo' command for Windows? - Super User

    Sep 17, 2009 · It will permanently enable sudo command in PowerShell. Usage: sudo <process-name> [param1 [param2 [param3]]] Examples: sudo explorer sudo notepad sudo powershell …

  9. sudo - How to come out of root user? - Ask Ubuntu

    Jun 30, 2014 · Now I have come out or log out or disable root access. For that I tried sudo passwd -dl root. Then it shows the message: passwd: password expiry information changed. But I still …

  10. linux - What is different between root and sudo? - Super User

    Nov 1, 2011 · Not all normal users can use sudo, they have to be in the sudoers file and you can control which commands or types of commands the user can execute. Also, only certain users …

Refresh