On Mon, Nov 30, 2009 at 4:59 PM, anup nair <[email protected]> wrote:

> Could you copy the line from /etc/passwd
> pertaining for the user for which this problem occurs?
>
> On Fri, Nov 27, 2009 at 4:50 PM, Maheboob Shaikh <[email protected]
> >wrote:
>
> >
> >
> >
> >
> > I have created some users & when I command # tail /etc/passwd
> > It shows the user I have made .
> > But whenever I login through switchuser  # su - natasha
> > then it gives me a shell in this way
> > [I have no name @station20]
> >
> > So , please sugest me how I can deal with this in order to correct this
> > problem?
> >
> > Thanks with Regards,
> > Maheboob Shaikh
> > CMC Ltd.
> >
> > [Non-text portions of this message have been removed]
> >
> >
> >
>
>
>
> --
>    ASATOMA SADGAMAYA  : Leads us from   ignorance to truth
>   TAMASOMA JYOTHIRGAMAYA  : from darkness to light
>   MRITHYORMA AMRUTANGAMAYA  : and from death to eternity
>   OM SHANTI SHANTI SHANTI HI  : Let peace prevail everywhere.
>
>
> [Non-text portions of this message have been removed]
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>
Please copy the line from /etc/passwd for better understanding and also
longlist the file.

Also it could be because the permissions on the /etc/passwd file are not set
properly. The permissions should be "-rw-r--r--". This file must be set so
all users can read it. Therefore it is a wise security precaution (and
currently a standard) to implement shadow passwords so the users' encrypted
passwords are stored in the /etc/shadow file only readable by root.

-- 
Ashwin R.


[Non-text portions of this message have been removed]

Reply via email to