ubuntu installed but I didnt not get super user setup

Asked by Jason

with umbutu in place on a particioned HDD on a notebook with windows on HDD. Install was fine and I was prompted for a password to be put in place. I assumed since this was the only password I was asked to make that it was for the superuser but it is not and the password is only good as a user. If i attempt to "su" at terminal my password does not work for this annd I have no idea what the password would be. any input will be great.

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
delance (olivier-delance) said :
#1

Security model of Unices improved some years ago. Now, "su" is deprecated, and you must use "sudo <command>" when you run a command as administrator. For graphical application, you must replace sudo by gksudo (Gnome, the default) or ksudo (KDE).

Revision history for this message
Jason (jfaor) said :
#2

So to get to root user I type "sudo /root"?

Revision history for this message
delance (olivier-delance) said :
#3

No. You are supposed to use sudo for each command, or for a script holding all commands.
You can also use "sudo bash", but it's not advised.
E.g. to get partition table:
   sudo fdisk -l

Can you help with this problem?

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

To post a message you must log in.