Re: Changing a users password in /etc/passwd instead of NIS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Try to touch the nsswitch.conf file under /etc, there is a line mention the 
order for changing the password as well as the shadow and the authentication:
password: file nis 
shadow: file nis
group: file nis

I am not sure about it, but you can try.

Regards

 --Adel


On Wednesday 09 November 2005 06:04, anindya banerjee wrote:
> Dear Dave Martini ,
>
>
>
>                                 If user change his password typing command
> passwd. if it's not taken
>
>  then you have to see the permision of passwd file. It's location
> /usr/bin/passwd   -r-s--x--x
>
> you have see the sgid bit set or not. I told this permision is redhat-9. I
> use the RHELAS 3 and
>
> 4 but I could 't remember the permision of passwd file. Try it I hope you
> will be overcome this problem.
>
>
>
>                                                                            
>                      regards
>
>                                                                            
>                Anindya Banerjee
>
>
> Dave Martini <martini@xxxxxxxxxxxxxxxxxx> wrote:
> I would like a user to change his password on his local RHEL 3 account
> but when typing
>
> passwd
>
> it is going to NIS since this machine is a NIS client.
>
> In Solaris there is a command
>
> passwd -r files
>
> which means to update the local files but I don't see that option in
> redhat.
>
> How do I change the local account password for a user.
>
> Thank You.
> Dave Martini
> LLNL
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>
>
> ---------------------------------
>  Yahoo! FareChase - Search multiple travel sites in one click.

-- 
Adel Ben Zarrouk
Opennet MEA FZ LLC
Tel: +971 4 390 1943
Fax: +971 4 390 4767
http://www.opennet.ae/

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux