ts-7000
[Top] [All Lists]

Re: [ts-7000] creating a user

To:
Subject: Re: [ts-7000] creating a user
From: Jim Jackson <>
Date: Fri, 29 Aug 2008 11:18:54 +0100 (BST)


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/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU