Am pretty new to Linux.I could not set an root user account when I started my Dell laptop which came with Ubuntu. How do I reboot the same to set root. Kindly guide me. Thanks in advance.
2 Answers
Use sudo. Do not use the root account.
Using the root account runs all applications at the root level. This is, inherently, extremely unsafe.
If or when you want to avoid using sudo for a period of time, you can use the command:
sudo -i
- 2,831
OK. You are not required to be a root to perform high prevailing task like installing packages, etc. You can do same thing as root user by just typing sudo before the command which you want to execute.
Example: sudo apt-get {Operation} {Package Name}
Where:
- sudo -> used to add administrative previlages to user specified commands.
- apt-get -> is a free package management command line program, that is used to work with Ubuntu’s APT (Advanced Packaging Tool) library to perform installation of new software packages, removing existing software packages, upgrading of existing software packages and even used to upgrading the entire operating system.
Operation -> If you are installing the new package, use
intsall. For updating your system typeupdate.Package Name -> is the name of the package that you want to install. In case of update, package name is not specified. The update command fetches the package list and update the packages to newer version.
HAPPY TO HELP ;-)
- 130