Trying to install Java and the instructions say to enter a super user password.I have never set an SU password.What do I do?
Mint 10 Julian on an FD.
-
It's just your user password. Also, why aren't you using the package in the repository?
-
-
-
ALLurGroceries Vegan Vermin Super Moderator
Next time run it with sudo or gksudo instead ( gksudo ./javainstaller or whatever). su will fail unless you have explicitly set a root password, the way to get su working is strangely enough, with sudo. So as a normal user, this will bring you to a root shell:
Code:sudo su
-
-
now ctrl+d to get out of the root session and ctrl+d again to get back to your normal user level access.
Note: some porgrams still require a root password and user account to install correctly because sudo is not truly a super user. -
-
-
# is a ROOT prompt and $ is a user prompt -
Ok. Thanks.
-
The program "su" is "Switch User" it allows you to log in as another user (supplied on the command as an argument and default to username "root"). Most of the times users use the command "sudo" which if you are allowed to allows you to run the command (passed as its arguments) as username "root" without having to know the password for root but requires you to verify that you are you by supplying your own password.
The command "sudo" has a configuration file that defined who is allowed, hosts that that user can be on, and what commands are allowed.
What's SU if you never set one?
Discussion in 'Linux Compatibility and Software' started by ben2go, Dec 7, 2010.