I think u need to update shadow file once u add the user.
execute "pwconv" once u finish the steps to add the user and update the
password.

may be it will work..


Enjoy Each Moment . . . . .

Chirag K. Gohel
Talk to Me : +91 99099 93937
www.genxsolution.in
http://chiragkgohel.blogspot.com
http://chiragkgohel.wordpress.com
http://saurashtralug.blogspot.com



On Fri, Nov 25, 2011 at 12:22 AM, pahnin sd <[email protected]> wrote:

> On Fri, Nov 25, 2011 at 12:06 AM, vijeenrosh p.w <[email protected]>
> wrote:
> > Hi all ,
> >
> > When I tried to create an new user account in my System (running on
> > Ubuntu 10.10 ) using
> >
> > useradd and passwd , Every thigng went fine while executing the
> > commands .
> >
> > useradd username
> > passwd username
> >
> > but after executing these commands , when I looked in /home there were
> > no directory named after new user created (ie, no home directory for
> > new user created ) ,
> >
> > again , the users name is shown in the login lists
> > and when tried to login to that account I got the following error
> >
> > "Couldnt update .ICEauthority " ,
> >
> > why there is no /home/usename  directory after the user were
> > succesfully created ?
> > ("I think second error is consequence of that ")
> >
> > please help .
> >
>
> From "man useradd"
>
>       -d, --home HOME_DIR
>           The new user will be created using HOME_DIR as the value for the
>           user's login directory. The default is to append the LOGIN name
> to
>           BASE_DIR and use that as the login directory name. The directory
>           HOME_DIR does not have to exist but will not be created if it is
>           missing.
>
>
>
> > --
> > Mailing list guidelines and other related articles:
> http://lug-iitd.org/Footer
> >
>
> --
> Mailing list guidelines and other related articles:
> http://lug-iitd.org/Footer
>

-- 
Mailing list guidelines and other related articles: http://lug-iitd.org/Footer

Reply via email to