answersLogoWhite

0


Best Answer

You can't "access" the superuser password. In addition to being stored in a file only readable by the superuser, its also encrypted in a one-way hash. This means that it is not stored in plaintext, and the computer checks to see if the password is correct by encrypting the supplied password and seeing if the hash matches, not just comparing the passwords sirectly.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you access the superuser password on ubuntu without access privileges like a command prompt or something?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the userid of the superuser?

The userid of the superuser is always 0. See the `id` command: `id -u root` yields 0.


What is a superuser in Linux?

The Linux superuser is called "root." There is very little root cannot do. This is why it is a Very Bad Idea to do anything as root unless absolutely necessary. Use sudo instead with commands that need it.


How do you make a new user on Linux?

There is a command called useradd in Linux which you can use to add a new user. Here's an example 1. Add the user (you need to be a superuser to run this command) # useradd test 2. Set the password # passwd test Changing password for user test. New UNIX password: Retype new UNIX password: passwd: all authentication tokens updated successfully.


How do you simulate a command as root?

If by simulate you mean to run command as root i.e with root privileges then sudo is the command. sudo <command name> which execute the command with root privileges.


Who is superuser in UNIX?

On any system someone must be able to kill any runaway program, purge corrupted files, reset passwords when users forget them, remove users' permission to use the system, and a myriad of other system management tasks.On UNIX this special user is known as superuser or root (not to be confused with the root directory). Superuser can override file security and do almost anything he/she wants on the system (he/she cannot see your password, since it is encrypted, but he/she can change it). In fact, any user with a useridof 0 is a superuser. Naturally, such users should always have a password.It is not good practice for the system administrator to always logon as superuser. It is too easy to make a trivial mistake and damage the system, perhaps by rm * in an important directory. Instead, logon as a regular user, then switch to superuser with the su command when you need it.


1 What command can be used as a regular user to run a single command as root?

sudo ... but you have to be in the sudoers list which has to be edited as root. Once you are in the sudoers file/list, you can execute a command as root by typing "sudo" (without quotations) and then a space and then the command. You will be asked for your password, enter it, and the command will be executed with root privileges. The sudoers file is in /etc.


How can you stop a user from logging on in Linux?

Just change their password to something unguessable with the passwd command.


What is menning sudo command in Linux?

sudo will run a command with root privileges


What is sudo?

sudo is a Linux command used to execute programs as the root, or "super user." sudo is a shortening of "super user do." One uses sudo when they need to run a command or program as root, but do not wish to log out or switch their entire shell to root privileges (like they could do with the su command). The file sudoers defines per user or per group what commands can be run with sudo. This file is edited with the command visudoers


How do you change permissions on a shell script in unix?

Use the 'chmod' command to change permissions on any file. Note: you have to be the owner (or the superuser) to do this.


What does the sudo command do in linux?

When u put sudo before a command in terminal the command run with root privileges


A network administrator enters the service password-encryption command into the configuration mode of a router What does this command accomplish?

This command enables a strong encryption algorithm for the enable secret password command.