Changes

From SME Server
Jump to navigationJump to search
Line 275: Line 275:     
==Reset the root and admin password==
 
==Reset the root and admin password==
 
+
=== For versions previous to 10 ===
 +
 
 
1. Restart your server and at the beginning of the boot-up use the arrow keys to select the kernel you would like to boot into.
 
1. Restart your server and at the beginning of the boot-up use the arrow keys to select the kernel you would like to boot into.
   Line 289: Line 290:  
   passwd admin
 
   passwd admin
 
Reboot your server and everything should be okay now.
 
Reboot your server and everything should be okay now.
 +
 +
=== For version 10 on ===
 +
 +
# At boot use ESC to bring up the boot prompt.
 +
# At the boot prompt, use E to enter edit mode.
 +
# Find the kernel line which starts with '''linux16'''.
 +
# Alter '''ro''' to '''rw init=/sysroot/bin/sh'''. The rest of the line after that can be left as-is.
 +
# Use either CTRL+X or F10 to boot into single user mode.
 +
# Change root to the system by issuing: '''chroot /sysroot'''.
 +
# Type '''passwd''' and follow the prompts to change the root password.
 +
# Type '''passwd admin''' and follow the prompts to change the adminpassword. These must both be the same.
 +
# Run reboot -f or ctrl-alt-del to reboot the server.
    
==File Size Limitations==
 
==File Size Limitations==

Navigation menu