Suse & OpenSuse : Tips, Tricks, Tutorials, How Tos and Troubleshooting

How to create user with password assigned

If you create new users (as root) using
# useradd –m tux

You will have created a newuser with it being disabled.  This means that the password entry (the 2nd column) in the /etc/shadow will have a ! as the entry, i.e.
tux:!:14343:0:99999:7:::

How to recover OpenSuse Lost Root Password

Hopefully not but from time to time, we may somehow forgot what our root password is.  This can happen in the case where you are managing a teaching laboratory, CAD/CAM workstations or your grandmother’s OpenSuSE PC!  These are situations where once the machine is setup, you rarely need to have system administration access.  So, the [...]