Operating System - Linux
1830939 Members
1646 Online
110017 Solutions
New Discussion

gui user templete not opening

 
dipesh_2
Regular Advisor

gui user templete not opening

hi

i am getting an error that user database can not open. /etc/passwd & /etc/shadow mismatch.

how do i rectify this problem
2 REPLIES 2
Steven E. Protter
Exalted Contributor

Re: gui user templete not opening

Shalom dipesh,

vipw

find the numeric user id for the user which is listed next to the user name. Take note of the group id and the user id. Take note of the shell or any other customizations.

remove the user. /etc/passwd /etc/shadow /etc/group

add the user again,

run vipw
make the numeric id the same as it was before. Make other customizations. Change the password.

All should be well.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
dipesh_2
Regular Advisor

Re: gui user templete not opening

Thanks