@ByteCommander The user is running these commands as the root user..
– SethFeb 16 '15 at 17:14
2
@Seth Oh sorry. Did not look at the username. I expected that people finally stopped logging into root for security reasons, but does not seem so... :-(
– Byte CommanderFeb 16 '15 at 17:19
modsmy@modsmy:~$ sudo apt-add-repository ppa:webupd8team/java [sudo] password for modsmy: sudo: apt-add-repository: command not found same sh*t
– SmygolasFeb 16 '15 at 18:27
Sorry, as you are already logged in as root, you don't have to use sudo (which runs a single command as root). I did not see this when I wrote my first comment. But anyway, enabling and using the root-account is not recommended, because it is a security problem, intruders immediately get full control over the machine without even having to think about a password. Therefore people should usually disable their root accounts (default on downloaded Ubuntu) and use sudo instead to administrate their machine.
– Byte CommanderFeb 17 '15 at 08:17
modsmy@modsmy:~$ sudo apt-add-repository ppa:webupd8team/java [sudo] password for modsmy: sudo: apt-add-repository: command not found
same sh*t – Smygolas Feb 16 '15 at 18:27root
, you don't have to usesudo
(which runs a single command as root). I did not see this when I wrote my first comment. But anyway, enabling and using the root-account is not recommended, because it is a security problem, intruders immediately get full control over the machine without even having to think about a password. Therefore people should usually disable their root accounts (default on downloaded Ubuntu) and use sudo instead to administrate their machine. – Byte Commander Feb 17 '15 at 08:17