buat user dlm bt5 r1


assalamu”alaikum…

dh lame rse nya xupdatekn blog ni…so, hari ni nk bg command tuk create user..

log in sebagai root n run shell n taipkn ayat2 kt bawah ni… :D =

+ useradd -m username
+ passwd username
+ visudo

pas tu,korang kna pstikn yg korang taip nama user yg korang creat td kt bawah command ni

+ root ALL=(ALL) ALL

sperti kt bawah ni…

+ root ALL=(ALL) ALL
+ username ALL=(ALL) ALL

lps save sume yg korg buat td,korg log out,n mask blk kt user baru korag…
bl kog nk install ape2,ko rg jz buka shell n taip ‘su’ n enter…korg akn dpt kuasa root…hahah…so,pas abis instal,taip exit dl kt shell tuk kua dr root… kl xfaham,korg leh tnye blk kt komen.. :)

2 Responses to buat user dlm bt5 r1

  1. arrigatou XD, and nak tambah sikit, kalau dah masuk di account user tapi prob ngan security gak, just type sudo -s akan terus masuk sebagai root user, tapi problem akan berlaku kalau sekiranya anda tidak melatakkan diri ana sebagai sudoers, dan sekiranga sudo -s membolehkan anda masuk sebagai root, sila pastikan lokasi anda ( directory ) membuat kerja anda, supaya anda tak terletak fail sebab di root punyer dir pulak, sebab in the first placekan anda nak gunakan root privilage utk install apps/ software anda di user yang anda baru crete tukan !!

    p/s: sorry lah kalau tak paham sebab ayat berbelit2 XD

    selamat melinuxkan diri (^_^)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s