Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
setting up a user
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
mr_andy_main
n00b
n00b


Joined: 31 Dec 2002
Posts: 24

PostPosted: Tue Dec 31, 2002 2:30 pm    Post subject: setting up a user Reply with quote

hello,

I've been trying to set up a non-root user. I have him set up but.....

No home directory was created????

Mozilla won't start (symptom of above?).

I can create a directory, but where do I put the details for it to be set as home? (ie ~, and where my mail and files go)

This seems weird to me that it is not a default part of adduser.
Back to top
View user's profile Send private message
hhaamu
Apprentice
Apprentice


Joined: 23 Aug 2002
Posts: 253
Location: Finland

PostPosted: Tue Dec 31, 2002 3:40 pm    Post subject: Reply with quote

RTFM...

man useradd:
Code:
NAME
       useradd  -  Create  a  new user or update default new user
       information

SYNOPSIS
       useradd [-c comment] [-d home_dir]
               [-e expire_date] [-f inactive_time]
               [-g initial_group] [-G group[,...]]
               [-m [-k skeleton_dir]] [-o] [-p passwd]
               [-s shell] [-u uid] login

       useradd -D [-g default_group] [-b default_home]
               [-e default_expire_date] [-f default_inactive]
               [-s default_shell]


so: useradd -D username -b /home/username -s /bin/bash
Back to top
View user's profile Send private message
nbg
Tux's lil' helper
Tux's lil' helper


Joined: 04 Oct 2002
Posts: 77

PostPosted: Tue Dec 31, 2002 6:39 pm    Post subject: Reply with quote

If you don't want to memorize the useradd command, just emerge and run superadduser.
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