Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved]Problem After "su - [username]"
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
Codeblues
n00b
n00b


Joined: 28 May 2008
Posts: 26
Location: Chicago, Illinois

PostPosted: Wed May 28, 2008 9:00 pm    Post subject: [solved]Problem After "su - [username]" Reply with quote

The minimal install 2008.0 beta2 cd says it can't find commands such as fdisk after I create my user account and su into it with the command su - [username] where [username] is the account I made following the handbook. Maybe I didn't read the handbook careful enough but anyone care to point out what I might be doing wrong?

Last edited by Codeblues on Mon Jun 09, 2008 8:43 pm; edited 1 time in total
Back to top
View user's profile Send private message
Maliwik
Apprentice
Apprentice


Joined: 14 Apr 2008
Posts: 252
Location: Wisconsin, U.S. of A.

PostPosted: Wed May 28, 2008 9:28 pm    Post subject: Reply with quote

The command should be:
Code:
sudo su -

_________________
freelight wrote:
I have a severe case of procrastinitis.
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Wed May 28, 2008 10:16 pm    Post subject: Reply with quote

Regular users are not allowed to do administrative stuff like run "fdisk".

If you used "su" to become a regular user, then you should be able to type "exit", and return to being root.
Back to top
View user's profile Send private message
Codeblues
n00b
n00b


Joined: 28 May 2008
Posts: 26
Location: Chicago, Illinois

PostPosted: Thu May 29, 2008 1:38 am    Post subject: Reply with quote

So I don't need to be using the user account I created when installing Gentoo?
Back to top
View user's profile Send private message
Maliwik
Apprentice
Apprentice


Joined: 14 Apr 2008
Posts: 252
Location: Wisconsin, U.S. of A.

PostPosted: Thu May 29, 2008 1:50 am    Post subject: Reply with quote

Correct, you should really be installing Gentoo as root. The adding a user part in the handbook is only if you want to do other things as a normal user while you're installing.

You can usually even skip adding a normal user until you've got everything installed if you want.
_________________
freelight wrote:
I have a severe case of procrastinitis.
Back to top
View user's profile Send private message
kkuehne
n00b
n00b


Joined: 19 May 2008
Posts: 24
Location: Ulm, Germany

PostPosted: Thu May 29, 2008 5:15 am    Post subject: Reply with quote

You could give
Code:
/sbin/fdisk

a try!
This should give you at least access to some more tools as normal user.
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