What is the default password of the sudo? I visit some forums, it tells that the default password is password, but it doesn't work, how can I determine the password?
666
I'm working on a Ubuntu system, and my client has completely forgotten his administrative password. He doesn't even remember entering one; however it is there.  I've tried the suggestions on the website, and I have been unsuccessful in deleting the password so that I can download applets required for running some files. Is there a solution?
93079
I was reading a guide to  and came reading until this shocking statement:     sudo is not installed on Debian by default. Make sure your system is up-to-date and install it.   As current Debian user, this is difficult to believe since from installation I'm able to use sudo. So, maybe it got installed when I selected not to create a password for the root account (rendering the root account disabled) or something is amiss here. Does Debian not include sudo (or it's variants) as installed by default?  If we go by what the , sudo can be installed due APT/DPKG dependencies, which in some cases will ask tasksel/apt to install those too, but isn't included in the required or important list:  ➜  ~  aptitude search ~prequired | grep sudo ➜  ~  aptitude search ~pimportant | grep sudo ➜  ~  aptitude why '~prequired' sudo       i A dpkg     Suggests   apt                              i A apt      Suggests   aptitude | synaptic | wajig      i A synaptic Recommends gksu | kdebase-bin | policykit-1 i A gksu     Depends    sudo                             ➜  ~  aptitude why '~pimportant' sudo            i A apt      Suggests   aptitude | synaptic | wajig      i A synaptic Recommends gksu | kdebase-bin | policykit-1 i A gksu     Depends    sudo
82403
After I read  I noticed that there is a user account named 'nobody' in my Ubuntu system.   Also I noticed that I can login in this account from terminal using the following command and my password:  sudo su nobody     It doesn't mind me at all, but I want to know what is the purpose of this user? Is it created by default on a fresh install of Ubuntu or is created by installing a particular package?
85696
On my personal machine, I often type sudo in front of certain commands in order to accomplish administrative tasks.  I had hoped to avoid doing this throughout the day, by typing su root and providing the same password I usually do for sudo.  However, the two passwords are not the same(I don't know how to log in to su root).  Is running a command with sudo different than logging in with su root and running the same command?  I think sudo and su root are the same, because when I type sudo whoami, I get root, as opposed to just whoami where I get my user-name.
49065
When I run sudo, what exactly happens to my environment?  When I run sudo command, it doesn't seem to see my or root's environment. For example, my path for both includes /usr/local/bin, but if I try to run one of the program's without the full path, it fails.  I thought sudo ran as root, and hence got root`s environment. Is there a different way that bash executes under sudo than under root or my normal user?  EDIT:  I have been using sudo -i lately, but recently it has been causing problems because my current working directory gets set to /root. This is as expected (sorta), but I still don't understand why sudo isn't recognizing my executables in /usr/local/bin.  EDIT:  I am running Fedora 15.
95688
How can I change my password?  I have looked around  but haven't found anything promising. A few answers got me close, but the advice always came from a more advanced user. I am new to the world of Linux however I feel I'm following the directions 100%.   I love Ubuntu &amp; I'm learning a lot of good information but I have been spending far to much energy &amp; time on what should be easy.
53147
I don't need an administrator to change my root password. I don't want any sudo user to execute this command:  sudo passwd $root   I have tried it in the sudoers file using the following command:  %sudo ALL=(ALL) ALL, !/usr/bin/passwd $root   How can I block it?
112639
Is there any difference between using sudo and using su -c? There are situations where one should be used but not the other?  I was previously using Ubuntu where sudo appears to be ubiquitous but now I'm giving Fedora 15 a try and the idiom su -c appears frequently when I'm trying to learn how to do a few things, although I still see sudo being used now and then.
89624
I've been reading . Apparently I would gain root access if I hold down enter (somewhere) for 70 seconds. I tried it on a password prompt but it gave me like 3 attempts and stopped. I tried it on a tty but it didn't work also. Am I not vulnerable or am I doing it wrong?
7563
When I run sudo the terminal is stuck for a few seconds and then outputs an error message. My terminal looks like this:  ubuntu@(none):~$ sudo true sudo: unable to resolve host (none)   What can I do to solve it?
1809
In /etc/sudoers I see this:  # Allow members of group sudo to execute any command after they have # provided their password # (Note that later entries override this, so you might need to move # it further down) %sudo ALL=(ALL) ALL   So how do I add a user to that sudo group?
14250
What is the difference between the following commands:  su sudo -s sudo -i sudo bash   I know for su I need to know the root password, and for sudo I have to be in the sudoers file, but once executed what is difference?  I know there is a difference between su and sudo -s because my home directory is /root after I execute su, but my home directory is still /home/myname after sudo -s. But I suspect this is just a symptom of an underlying difference that I'm missing.
37986
Possible Duplicate:          I've just had someone install Ubuntu 12.04. I am not a techie - just a user. I am now asked for a password which I do not have and has never been set. Is there a default one? Otherwise I have to work as a guest all the time... Not so great. I appreciate any help.
106477
Operating System: Arch Linux  Linux version: 4.16.11  Sudo version: 1.8.23  What I need:   be able to execute any executable with a sudo with a password prompt be able to execute one executable, /home/username/script.sh, without a password prompt.   When I configure like this  username ALL=(ALL) NOPASSWD: /home/username/script.sh   I have the desired effect on the script.sh, but I cannot execute any other executable with sudo.  Example  $ sudo ./script.sh # runs fine!   Attempt something other  $ sudo nano /etc/sudoers [sudo] password for username:  Sorry, user username is not allowed to execute '/usr/bin/nano  /etc/sudoers' as root on hostname.   Seems this is a result of replacing ALL with NOPASSWD, and seems I need both. If the sudoers file has ALL for the user, I can execute whatever I want with password prompt  username ALL=(ALL) ALL   I tried to combine ALL and NOPASSWD but had no results  username ALL=(ALL) ALL, NOPASSWD: /home/username/script.sh   Like this it asks for password for script.sh.  Can I have both?
23594
To run programs as sudo without password, I edited /etc/sudoers with wrong content.   Then I re-edited it with Mac's default text editor(course sudo cannot be used when /etc/sudoers is wrong).  I tried to run sudo agin, and get this error:   sudo: /etc/sudoers is owned by uid 501, should be 0 sudo: no valid sudoers sources found, quitting   What should I do? I cannot remember the root password (maybe I haven't ever set root password before).
16006
When installing Ubuntu I can create a user with an encrypted folder, what I always do. Now after the installation the login password for this user is also the sudo password. Is that how it should be? I actually would like to have a different user login and sudo password, does is make sense? Should I do that, how?
47816
Ubuntu disables root login for "security reasons". However it seems to me that it doesn't help with security at all.  If an intruder manages to get your login password for Ubuntu, then he also has the super-user password, since it's the same as the login password.  However if the root password is required, then just having the login won't help the intruder much - that's right isn't it?  So basically, what I want to know is: Why did Ubuntu choose to disable the root password? What are the security reasons?  Please don't answer according to what you "think" was the reason - I'm looking for an answer from official sources, or linked to them.