Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
adduser ruined environment
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
endir
n00b
n00b


Joined: 22 Jan 2004
Posts: 6
Location: New Mexico

PostPosted: Sun Jan 25, 2004 6:55 pm    Post subject: adduser ruined environment Reply with quote

As root I added a new user. I logged out and logged in as the new user. My prompt is the -bash-2.05b crap and my entire environment is gone. I succesfully added a previous user without a problem? So I log back in as root and root's environment is all screwed up too, -bash-2.05b# prompt and $PATH is only /sbin:/bin:/usr/sbin:/usr/bin. How do I get my environment back? Please help :!:
Back to top
View user's profile Send private message
endir
n00b
n00b


Joined: 22 Jan 2004
Posts: 6
Location: New Mexico

PostPosted: Sun Jan 25, 2004 7:08 pm    Post subject: Actually useradd not adduser Reply with quote

useradd -u 1002 name -m -G users,wheel,audio,cdrw -s /bin/bash
Back to top
View user's profile Send private message
endir
n00b
n00b


Joined: 22 Jan 2004
Posts: 6
Location: New Mexico

PostPosted: Sun Jan 25, 2004 8:55 pm    Post subject: fixed Reply with quote

I fixed this problem by running emerge sys-apps/baselayout I believe something in /etc/group got screwed up from useradd.
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