/etc/passwd root login issue.
I have created MP.appl, MP.prod, MP.serv three users and root user. After compile my recipe my order is coming as mentioned below /etc/passwd MP.appl:x:0:1000::/home/MP.appl:/bin/sh
MP.prod:x:0:1001::/home/MP.prod:/bin/sh
MP.serv:x:0:1002::/home/MP.serv:/bin/sh
root:x:0:0:root:/home/root:/bin/sh
Because of this reason my credentials login is correct root & my password. But it is entering to MP.appl@ even root.
So manually I rearrange oder as mentioned below root@ its coming. I want this order and why it is changing. if I want to get as mentioned below How can I rectify it. root:x:0:0:root:/home/root:/bin/sh
MP.appl:x:0:1000::/home/MP.appl:/bin/sh
MP.prod:x:0:1001::/home/MP.prod:/bin/sh
MP.serv:x:0:1002::/home/MP.serv:/bin/sh
Thanks & Regards,
Sateesh
Hi Team,
Can anybody respond this.
Regards,
Sateesh
If you put “passwd first line” into your favorite Internet search engine, you’ll get:
The first line contains information about root user followed by system user accounts and normal user accounts.
So what you request is not possible without deep changes in Linux OS core components.
Peter
From: [email protected] <[email protected]> On Behalf Of sateesh m via lists.yoctoproject.org
Sent: Monday, January 29, 2024 5:17
To: sateesh m <[email protected]>; [email protected]
Subject: Re: [yocto] /etc/passwd root login issue.
Quoted 6 lines
Hi Team,
Can anybody respond this.
Regards,
Sateesh