List Info

Thread: User add problem




User add problem
user name
2007-08-02 00:14:57

Hi Everyone

I have 1 problem at the time of user creation.I have installed RHEL4 on P-IV
Machine.

At root login when I tried to create any user then it give me the message:

Useradd: cannot rewrite password file.

But if i tried to login in others already users created by me i can enter
but cannot create new users.

Pls give me solutions asap as my work got stuck

I have checked passwd file available in /etc

Regards,
Narender

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

__._,_.___
.

__,_._,___
Re: User add problem
user name
2007-08-02 03:05:49

Hi Narender,

Please check if you have correct perission set on /etc/passwd file.

check if you have write permission on this file.

Re,
Rajveer Singh
----- Original Message -----
From: narender mehra
To: linux-redhat-fedora%40yahoogroups.com">linux-redhat-fedorayahoogroups.com
Sent: Thursday, August 02, 2007 10:44 AM
Subject: [linux-redhat-fedora] User add problem

Hi Everyone

I have 1 problem at the time of user creation.I have installed RHEL4 on P-IV
Machine.

At root login when I tried to create any user then it give me the message:

Useradd: cannot rewrite password file.

But if i tried to login in others already users created by me i can enter
but cannot create new users.

Pls give me solutions asap as my work got stuck

I have checked passwd file available in /etc

Regards,
Narender

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

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

__._,_.___
.

__,_._,___
Re: User add problem
user name
2007-08-05 22:40:26

Yes,

Thanks, Rajveer for considering my problem.I have checked it. I have got
full permission on this file.

Regards,
Narender

On 8/2/07, Rajveer Singh < torajveersingh%40gmail.com">torajveersinghgmail.com> wrote:
&gt;
> Hi Narender,
>
&gt; Please check if you have correct perission set on /etc/passwd file.
&gt;
> check if you have write permission on this file.
&gt;
> Re,
> Rajveer Singh
&gt;
> ----- Original Message -----
&gt; From: narender mehra
&gt; To: linux-redhat-fedora%40yahoogroups.com">linux-redhat-fedorayahoogroups.com<linux-redhat-fedora%40yahoogroups.com>
> Sent: Thursday, August 02, 2007 10:44 AM
> Subject: [linux-redhat-fedora] User add problem
>
> Hi Everyone
>
>; I have 1 problem at the time of user creation.I have installed RHEL4 on
> P-IV
>; Machine.
>
>; At root login when I tried to create any user then it give me the message:
>
>; Useradd: cannot rewrite password file.
&gt;
> But if i tried to login in others already users created by me i can enter
&gt; but cannot create new users.
&gt;
> Pls give me solutions asap as my work got stuck
&gt;
> I have checked passwd file available in /etc
>;
> Regards,
> Narender
>
>; [Non-text portions of this message have been removed]
>
>; [Non-text portions of this message have been removed]
>
>;
>

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

__._,_.___
.

__,_._,___
Re: User add problem
user name
2007-08-06 21:14:35

You please check the file permission for /etc/passwd, i think accidentally permissions may be changed. You can add the entries manually to /etc/passwd, you may try it also.

regs.

K Biju RHCE,CCNA
Chemanchery

---------------------------------
Shape Yahoo! in your own image. Join our Network Research Panel today!

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

__._,_.___
.

__,_._,___
[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )