There is no root account in Windows XP. Nor is there an account that is a "superuser" account in the traditional sense.
#/bin/bash export UNAME=`whoami` export USERID=`id -u $UNAME` echo $USERID
I assume you are asking about the superuser account - which is the administrator account of root.
no go die
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.
30
I presume you mean writing shell scripts that operate under the super user account - scripts are written for any reason to help automate tasks and make them much less error prone than issuing commands as a user. Running as the superuser merely means that the commands in the shell script require superuser priviledge to execute.
Several ways to do this. If you just want to see what the files are, you could use: ls $HOME ls ~ ls /home/userid, where userid is your logon account
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.
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.
Enter a correct userID and Password.
You can request a new username by emailing support@answers.com