Linux Users and Groups - Base knowledge

Sometimes you have confused about Linux user, in this article, I show you:

How to find out what groups?
/etc/group is a text file which defines the groups on the Linux system. You can use 'groups' command toe display group memberships using the following syntax:
groups user-name

How do I find out the primary group membership?
getent group user-name

Add a new group
groupadd group-name

Add an existing user to a group
usermod -a -G group-name user-name

Change user's primary group
usermod -g group-name user-name

View a list of all groups
groups

Delete group
groupdel group-name

Thank you for reading this article, please a comment if you are interested.


Tiến Phan - R0039

Knowledge is Endless

Sharing for Success

Hướng dẫn sử dụng pin laptop hiệu quả

Chào mọi người,

Trong vô vàn thông tin về pin laptop mọi người đã biết như: dùng pin thế nào để tuổi thọ được lâu? thế nào để không bị chai pin? blah blah

Anh em giang hồ thì ẩn mình muôn phương, mỗi người mỗi kiểu nói. Hôm nay mình mang đến cho mọi người một cách thức sử dụng PIN. Vui lòng xem đây là tài liệu tham khảo, hãy đọc & suy nghĩ, đối chiếu với những cách thức khác bạn đã biết để có lựa chọn cuối tốt.

Thông tin này, mình chép lại từ mẩu giấy của nhà cung cấp PIN laptop (tại địa chỉ doctorlaptop.com)


Hướng dẫn sử dụng pin laptop hiệu quả

Xạc và xả 3 lần đầu cho pin mới:
  • Cách xạc: cắm xạc 3 đến 4 giờ cho pin 6 cell, hoặc 5 đến 6 giờ cho ping 9 cell và 12 cell (trong thời gian xạc có thể sử dụng máy hoặc tắt máy)
  • Cách xả: rút xạc ra và sử dụng máy bằng pin cho đến khi máy báo pin yếu. (low battery 10%)


Cách sử dụng sau 3 lần xạc đầu tiên:
  • Nên gắn pin và gắn xạc khi sử dụng máy
  • Trong 2 tuần xả pin 1 lần. Cách xả pin là cắm xạc cho pin đầy 100% -> rút xạc ra sử dụng máy bằng pin cho đến khi máy báo pin yếu -> cắm xạc lại.
  • Thời gian còn lại trong 2 tuần bạn có thể sử dụng tùy thích theo cách của bạn


Các lưu ý khác:
  • Không tháo pin để ra ngoài
  • Không gắn xạc liên tục khi đã tắt máy
  • Không để dung lượng pin yếu dưới 3%

Hành động cuối cùng là của bạn, hãy suy nghĩ trước khi làm bất kỳ điều gì được hướng dẫn ở internet.

Thank you for reading this article, please a comment if you are interested.


Tiến Phan - R0039

Knowledge is Endless

Sharing for Success

[HOW TO] Microsoft Edge can't be using the Built-in Administrator account. Sign in with a different account and try again

Microsoft Edge can't be using the Built-in Administrator account. Sign in with a different account and try again

How to fix?

  1. Open Run box in Start Menu
  2. Typing secpol.msc
  3. Under Local Policies/Security Options navigate to "User Account Control Admin Approval Mode for the Built-in Administrator account"
  4. Set the policy to Enabled
  5. Open Run box or cmd, typing gpupdate to force restart Local Group Policy


Thank you for reading this article, please a comment if you are interested.


Tiến Phan - R0039

Knowledge is Endless

Sharing for Success

[HOW TO] sharing tab missing in Folder Properties

A few day ago, I had a issues with Windows 10. Sharing tab missing in Folder Properties and Context Menu.

Account Assistant told me she want to create a folder share. Finance's software partner need it to install finance software. Easy, I think so. But, unluckily when I team-viewer. I don't see Sharing tab in Folder Properties and Context Menu.

What's going on?

It looks like Sharing services didn't start automatically. 
So I go to check Network Discovery and Configure Sharing Options, no problem at here. 

Next, 

  1. I go to check "Server" and "Security Accounts Manager" in service.msc. 
  2. Now scroll down and look for Server and Security Accounts Manager services. 
  3. Double-click on both services one by one and make sure "Automatic" is selected in Startup type drop-down box. 
  4. Also right-click on the service and select Start option to immediately start the service.

And really good, I see Sharing tab in Filder Properties without any problem.

And I also know other solution to fix this issues. You use regedit, 

  1. Go to following key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
  2. In right-side pane, double-click on forceguest DWORD and set its value to 0
  3. Finally, you open run box and type gpupdate to force restart Local Group Policy.

It should fix the problem.

Thank you for reading this article, please a comment if you are interested.

Tiến Phan - R0039

Knowledge is Endless

Sharing for Success

[HOW TO] Windows 10 Upgrade Assistant 99%

This morning Marketing's girl came back to me. She told me to help her upgrade Windows 7 to Windows 10. Unfortunately I had a lot of task today, so I told her that I had no free time to do. But she can put it on my work space. Because I will come back when I have free time socket.

Three hours later, I work on her computer. I re-open up memories, she don't like Windows 7. She like watching media, simplicity she like latest technology. So she wishes to use Windows 10.

Nice. I upgrade Windows 10 for her via Microsoft Upgrade Assistant. Suddenly it gets stuck "Windows 10 Upgrade Assistant 99%". What is going on?

It looks like that Windows Upgrade have issues. What I need to do?

Time later I see Windows Update frequently ask me to download and install package. Windows Update and Windows Upgrade are conflict?

Because Windows Upgrade also download the update package to install. Windows Update too. I go to change the status of Windows Update in Control Panel to "Never install updates". Tightly I stop Windows Update service in Service (Control Panel/ Administrative Tools).

And I re-run Windows 10 Upgrade Assistant, amazing, it passes 99%. Finally Windows 10 ready upgrade.

Finish something always good feel for me.

Thank you for reading this article, please a comment if you are interested.

Tiến Phan - R0039

Knowledge is Endless

Sharing for Success

One of the the best definition that I like /'mou.ka/

One of the the best definition that I like:

moca   
noun /'mou.ka/
The team who dare to turn their dreams into others' reality. LOL, Kidding. Just a bunch of handsome geeks.

One a shiny Sunday afternoon I clean my room, and I see the old t-shirt


(Kể từ sau năm 2016 tôi không còn tin đây là sự thật ... 0i0 )

[HOW TO] fix Required CD/DVD drive device driver is missing on WIndows 7

Today I come back to Windows. A new Quality Control staff is going to join our company in the next week. And I have to prepare the laptop for her.

In front of me is two laptops. One is Lenovo Thinkpad X220, the best laptop in my experience. Another is Dell Latitude E5250.

With Thinkpad X220, I have to clean up, and upgrade to Windows 10 as is her want. (She works in Marketing department). Microsoft doesn't support to upgrade from Windows 7 to Windows 10 by Windows Update service. Luckily I can upgrade by Microsoft Download Tool. It looks like that Microsoft always want to have more Windows's user. So they didn't tight policy.

With Dell Latitude E5250, I don't have lucky. It notifier "Required CD/DVD drive device driver is missing Windows 7". So I couldn't continue. What is going on?

I follow the keyword "driver" and "missing", Windows installation couldn't see Laptop's disk. Hence I need to import Intel Rapid Storage Technology (Intel RST) RAID Driver. Because it is missing SATA driver. I have only download f6lpy-x86.zip for Windows 32bit and f6lpy-x64.zip for Windows 64bit at https://downloadcenter.intel.com/download/22194

And I import them to Windows Installation USB. Input USB back to Laptop. Windows 7 Installation looks good.

I hope this article help you to save time.

Thank you for reading this article, please a comment if you are interested.

Tiến Phan - R0039

Knowledge is Endless

Sharing for Success