Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
bash: sudo: command not found
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
lhw828
n00b
n00b


Joined: 05 Sep 2013
Posts: 58

PostPosted: Thu Sep 05, 2013 11:08 am    Post subject: bash: sudo: command not found Reply with quote

Code:

sudo emerge -auDNv world
bash: sudo: command not found


what's happend?
Back to top
View user's profile Send private message
xaviermiller
Administrator
Administrator


Joined: 23 Jul 2004
Posts: 7972
Location: ~Brussels - Belgique

PostPosted: Thu Sep 05, 2013 11:33 am    Post subject: Reply with quote

sudo is not installed by default.

Code:
emerge -av sudo

_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
MJaoune
n00b
n00b


Joined: 19 Jun 2013
Posts: 11

PostPosted: Thu Sep 05, 2013 8:01 pm    Post subject: Reply with quote

Either install sudo (Since its not installed by default):

Code:
emerge sudo


Or use su to login as root.

Code:
su


Then type root password.
Back to top
View user's profile Send private message
cwr
Veteran
Veteran


Joined: 17 Dec 2005
Posts: 1969

PostPosted: Fri Sep 06, 2013 9:04 am    Post subject: Reply with quote

Best to use
Code:

  su -

or you may get odd search paths.

Will
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum