Sudo apt-get Password

If you are new to Linux or new to Sabayon Linux and just not sure where to post, here ya go. Post without fear of being told to RTFM :-)

Moderator: Moderators

Sudo apt-get Password

Postby Xanity » Mon Jul 20, 2009 11:54

Ok, I'm new to Sabayon Linux and was wondering, when I type in a sudo apt-get command in the terminal it prompts for a password and i don't know what the password is. I've typed in my root password and my super user password but none of those passwords work. Can anyone tell me what the password is???
Xanity
Baby Hen
 
Posts: 7
Joined: Tue Jul 14, 2009 4:23

Re: Sudo apt-get Password

Postby Fitzcarraldo » Mon Jul 20, 2009 12:27

SL (Sabayon Linux) does not use the APT package manager (the apt-get command) and the Synaptic GUI. The package manager is different to the one used in Ubuntu. You need to do some reading on the package managers (Entropy and Portage, but stick to Entropy) and the commands available for SL; see the sticky thread Resources For You.

As far as passwords are concerned, if you're using the LiveDVD then the passwords are given in one of the SL Wiki pages referenced in the above-mentioned Resources For You thread; they are:

Root User Account
Username: root
Password: root

Configured Normal User Account
Username: sabayonuser
Password: sabayonuser

N.B. Do not log-in to the desktop environment (e.g. KDE or GNOME) as the root user.

Also, although the sudo command works in all versions of Linux (providing it has been enabled -- see the SL Wiki), it is not necessary to use it. It is simpler to use the su command, become the root user and do what you need to do and then exit back to your normal user account. For example:

Code: Select all
fitzcarraldo@sabayonx86 ~ $ whoami
fitzcarraldo
fitzcarraldo@sabayonx86 ~ $ su
Password:
sabayonx86 fitzcarraldo # whoami
root
sabayonx86 fitzcarraldo # exit
exit
fitzcarraldo@sabayonx86 ~ $ whoami
fitzcarraldo
fitzcarraldo@sabayonx86 ~ $


By the way, the "su" in the commands sudo and su means "substitute user", not "super user"; see The su Command. You can use the su and sudo commands to switch to any user, not just the root user.

What some people call the "super user" is the root account user, equivalent to the Administrator in Microsoft Windows.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7335
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Sudo apt-get Password

Postby wolfden » Tue Jul 21, 2009 0:40

you should install it before running package manager stuffs anyway.
User avatar
wolfden
Sharecropper
 
Posts: 8822
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Re: Sudo apt-get Password

Postby genfool » Tue Jul 21, 2009 2:01

One of those DOH! moments, we are laughing with you not at you :)
Sounds like you have sabayon installed, equo install is the same as apt-get you do need to learn the package management system for sabayon, is not hard. I highly recommend this link to get you started off on the right path.
http://wiki.sabayonlinux.org/index.php? ... t_to_do.3F
Ask if you need more help.
User avatar
genfool
Technological Hen
 
Posts: 342
Joined: Fri Apr 03, 2009 17:56
Location: Albuquerque, NM


Return to Beginners|Newbies Area

Who is online

Users browsing this forum: No registered users and 1 guest

cron