فعال کردن يوزر Root در ubuntu و تغییر پسورد Root - آموزش کامل پرینت

  • 6

در این آموزش در تکمیل آموزش قبلی ، یوزر روت را به طور کامل در سرور اوبونتو 16 فعال می کنیم
این موزش در رده آموزش های کامل قرار دارد و به زبان اصلی می باشد

enable root : sudo -i
2. For desktop Ubuntu, root user need to be enabled first so that remote machines can SSH to it via root:

Run command below to set a password for root:

sudo passwd root
Then execute command to unlock the root account:

sudo passwd -u root
Edit the config file /etc/ssh/sshd_config, change the line

PermitRootLogin without-password

into:

PermitRootLogin yes

When done, restart the SSH service.

sudo /etc/init.d/networking restart


آیا این پاسخ به شما کمک کرد؟

« برگشت