On Thu, 28 Aug 2008, Yuping Dong wrote:
> Hi everyone,
>
> I just used "adduser newbie" to create a new user account in the TS-Linux
> OS.
The home directory /home/newbie does not exist.
You should have specified the users home directory with the '-h' flag
adduser -h /home/newbie newbie
Then, I think, adduser will create the home directory and should set
ownership and permissions appropriately.
You can create the home directory yourself, as root
mkdir /home/newbie
chown newbie /home/newbie
You may want to chack that the permissions are ok for what you want and use
chmod to change them if not...
ls -ld /home/newbie
> I got the following response:
> adduser: /home/newbie: No such file or directory
> adduser: /home/newbie: No such file or directory
> adduser: /home/newbie: No such file or directory
> Changing password for
> newbie
> Enter the new password (minimum of 5, maximum of 8
> characters)
> Please use a combination of upper and lower case letters and
> numbers.
> Enter new password:
>
> But I checked the new user with "id newbie", then I got
> uid=509(newbie) gid=509(newbie)
>
> I don't know why it said No such file or directory but still created the
> user account.
> I think what I should get when I was creating the user account is something
> like:
> Adding user newbie...
> Adding new group newbie...
> ...
>
> Anyone can tell me what's the problem?
>
> Thanks,
> Yuping
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|