<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body dir="auto"><div dir="auto">Neh, zwapped the disks for brand new ones. I guess the raid controller board is running on e....</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br></div><div id="composer_signature" dir="auto"><div style="font-size:12px;color:#575757" dir="auto">Verzonden vanaf mijn Galaxy</div></div><div dir="auto"><br></div><div><br></div><div align="left" dir="auto" style="font-size:100%;color:#000000"><div>-------- Oorspronkelijk bericht --------</div><div>Van: Michael Stauber <mstauber@blueonyx.it> </div><div>Datum: 19-03-2022  20:11  (GMT+01:00) </div><div>Aan: blueonyx@mail.blueonyx.it </div><div>Onderwerp: [BlueOnyx:25363] Re: Root/admin passwd problems </div><div><br></div></div>Hi Arie,<br><br> > This morning my server stopped and would not reboot, the error from<br> > journalctl was /sysroot.<br> ><br> > So I did a xfs_repair on /dev/md0 and /dev/dm-0. Server<br> > started, all is  running happily….<br> ><br> > But when I tried to login, the admin passwd was set to<br> > blueonyx. Changed it. The root passwd was also set to<br> > blueonyx, changed it.<br> ><br> > And this is when the shit hit the fan…. Every time I reboot<br> > the server, the admin and root passwd are reset to blueonyx.<br> ><br> > (besides, the GUI does not accept the ‘blueonyx’ or the new passwd.<br> > Da fook?).<br> ><br> > What do I have to do to make my own password stick when I reboot?<br><br>Say, are you *still* on that server with the faulty disk(s) we talked <br>about in the last few months? And where the recommendation always was: <br>Swap the disks before this gets any worse? :p<br><br>The password "blueonyx" is usually set for "root" (and "admin") during <br>initial setup, provided the user "admin" doesn't exist yet in the CODB <br>database. Then the user "admin" is created, he gets his default password <br>set and this default password is then also set for "root".<br><br>The constructor /usr/sausalito/constructor/base/user/50_addAdmin.pl does <br>that.<br><br>In order for this to fire on an already configured server your CODB <br>database probably no longer has the "admin" user, or user "admin" <br>doesn't exist in first place.<br><br>You can check if "admin" exists in CODB this way:<br><br>----------------------------------------------<br>[root@test ~]# /usr/sausalito/bin/cceclient<br>100 CSCP/0.99<br>200 READY<br>find User name = "admin"<br>104 OBJECT 6<br>201 OK<br>----------------------------------------------<br><br>And you can check this way if the user exists in the system:<br>----------------------------------------------<br>[root@test ~]# cat /etc/passwd|grep ^admin:x|wc -l<br>1<br>----------------------------------------------<br><br>But with all the xfs_repair and what not there is a high chance that <br>some "essentials" from your BlueOnyx install have gone walkies and that <br>the state of the OS and the BlueOnyx install is somewhat askew.<br><br>It might possibly be worth it to do a "rpm -Va" and see if it shows any <br>major issues.<br><br>-- <br>With best regards<br><br>Michael Stauber<br>_______________________________________________<br>Blueonyx mailing list<br>Blueonyx@mail.blueonyx.it<br>http://mail.blueonyx.it/mailman/listinfo/blueonyx<br></body></html>