Usernames and passwords


#1

The default username and password for SSH, (S)FTP and SMB in OSMC is:

username: osmc
password: osmc

Changing the default password

To change the default password for the osmc user, run the following command:

passwd

Enabling root access

By default, OSMC ships with the root user disabled, but allows privilege escalation with the sudo command. If you would like to enable the root username, run the following command:

sudo passwd root

#5

#6

#7

Hello there,
This solution works only for FTP and SSH.
Regarding SMB, you’ll need to use the following command line instead :

smbpasswd

Otherwise, you’ll keep osmc/osmc login password for samba.
Regards,
David