Login as 'SU'

Asked by mylnx

I have installed Ubuntu 10.04. I cannto login as 'SU'. During the installation, I did not set a password for 'SU'.
What do I need to do to be able to login as 'SU'?

Thanks for you help!

Mylnx

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu sudo Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Aruna Hewapathirane (aruna-hewapathirane) said :
#1

Instead of SU type in sudo followed by the command you want in a terminal, when prompted please type in your login password.

Revision history for this message
Aruna Hewapathirane (aruna-hewapathirane) said :
#2

If you really must become root type in SU followed by your user-name, your usual user-name and when prompted type in the usual password you use to login. This is not advisable or good practise as becoming super-user gives you unrestricted access and privileges so use with extreme care and caution and be aware this is considered a huge security risk.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

su is not a username, it is a command to (s)witch (u)ser, so you cannot 'log in as su' it makes no sense at all.

If you want a root console you can run:
sudo -i

and when you are finished you can run:
exit

HTH

Can you help with this problem?

Provide an answer of your own, or ask mylnx for more information if necessary.

To post a message you must log in.