How can i get admin access back

my trouble is , I don't have the Fedora OS access, don't know the MySQL should be the MySQL. don't have the admin access to the sugar.  just have the physical server in my hand. how can I get the access back. I am planning to change the root psw, but I have no experience with sugar before,  worried will impact the  applications.  anyone can help?