•  Home
  •  Dashboard
  •  Company
    • About Us
    • Blog
    • Careers
    • Contact Us
    • Data Centers
    • Looking Glass
    • Network
    • Reseller
  •  Hosting Services
    • Infrastructure
      • iColocation
    • Compute
      • cMetal
      • cVirtual
    • Storage
      • sObject
      • sBlock
    • Networking
      • nCDN
      • nIP Transit
      • nWavelength
    • Protection
      • pBackup
      • pDDoS
  •  Solutions
    • Ecommerce
    • Finance
    • Gaming
    • Hosting
    • Management
    • Security
    • System Integrator
  •  Support
    • Community
    • Knowledge Base
    • Open A Ticket
  •  USA & Canada: 800-933-1517
  •  International: 626-549-2801
  •  Email: sales@psychz.net
  • Services
    • new-colocation-header-img
      Infrastructure
      • iColocation
    • new-compute-header-img
      Compute
      • cMetal
      • cVirtual
    • new-storage-header-img
      Storage
      • sObject
      • sBlock
    • new-networking-header-img
      Networking
      • nCDN
      • nIP Transit
      • nWavelength
    • new-protection-header-img
      Protection
      • pBackup
      • pDDoS
  • Solutions
    • Ecommerce
    • Security
    • Gaming
    • Hosting
    • Management
    • Finance
    • System Integrator
  • Dashboard

Bagaimana cara mengganti password root di linux?

  • Home
  • Client
  • Qa Forum
  • Bagaimana cara mengganti password root di linux?

Posted By: SHENGHUA | 1 Replies | Last Reply On: May 26, 2017 04:51:29

Bagaimana saya mengubah password root di linux? Alangkah baiknya meliput distro yang berbeda.

Psychz - Ganesh

Votes: 0Posted On: May 26, 2017 04:51:29
 

Pengguna "Root" adalah pengguna default dengan semua hak. Untuk mengubah password root Anda perlu login sebagai root pada command prompt dan jalankan perintah "passwd". Anda juga bisa menjalankan perintah "su". Perintah su (short for sub user) memungkinkan untuk mengubah pemilik sesi login (yaitu pengguna yang awalnya membuat sesi itu dengan masuk ke sistem) tanpa pemilik harus terlebih dahulu keluar dari sesi itu.

Berikut adalah demonstrasi bagaimana password Root bisa diubah.

Prasyarat

1. Sistem operasi Linux (Ubuntu, CentOS, Debian dll) - Dalam hal ini kita bekerja pada CentOS 7

2. Izin root

Mengubah Password Root

1. Buka Terminal sistem operasi Anda. Masuk sebagai "root" dengan mengetikkan perintah "su".

"Su" biasanya cara termudah dan paling mudah untuk mengubah kepemilikan sesi login menjadi root atau pengguna lainnya.

Permintaan kata sandi akan ditampilkan. Ketikkan kata sandi Anda saat ini untuk login sebagai root.

2. Setelah login sebagai root jalankan perintah "passwd". Baris perintah akan meminta password baru. Masukkan kata sandi baru di command prompt (Catatan: Kata sandi tidak akan ditampilkan di layar). Setelah mengetikkan kata sandi Anda akan diminta untuk mengetik ulang kata sandi dan kata sandi Anda akan berubah.

Was this reply helpful?

Related topics

  • perintah Linux dasar dan berguna
  • Cara memperbarui jalur dokumen root untuk website di cPanel?
  • How to change the password through Remote Desktop (RDP)
  • How to change user password in Linux?
  • Hosting With Root Access
  • apc sandi pdu bawaan
  • Multi-Factor Authentication (MFA): A must for your account security!
  • Installing MariaDB on Centos 7
  • Top Enkripsi Software Untuk Windows
  • Mirai DDoS attacks- Then and Now
  • How to setup a dedicated server for Unturned
  • Unable to Access The Server Via SSH
  • Scientific Linux dan fitur-fiturnya
  • How to rsync two directories
  • cVirtual Connect from Windows
Copyright © 2025 Psychz Networks,
A Profuse Solutions Inc Company
Hosting Services
Infrastructure
  • iColocation
Compute
  • cMetal
  • cVirtual
Storage
  • sObject
  • sBlock
Networking
  • nCDN
  • nIP Transit
  • nWavelength
Protection
  • pBackup
  • pDDoS
Company
  • About Us
  • Blog
  • Careers
  • Contact Us
  • Data Centers
  • Looking Glass
  • Network
  • Reseller
Policies
  • Acceptable Usage Policy
  • Privacy Policy
  • Service Level Agreement
  • Terms and Conditions
Support
  • Community
  • Knowledge Base
  • Open A Ticket
Get In Touch
  • Psychz Networks,
    A Profuse Solutions Company
    611 Wilshire Blvd #300
    Los Angeles,California 90017
    USA
  • US/Canada: 800-933-1517
  • International: 626-549-2801