 
usermod ใน ลีนุกซ์ (Linux)
| |
ลีนุกซ์ (Linux) # usermod
คำสั่ง usermod |
คำสั่งแก้ไขข้อมูลของผู้ใช้ได้ usermod - modify a user account | ตัวอย่างคำสั่ง และการใช้งาน
#usermod -s /rbin/menu theman | กำหนดให้ shell สำหรับ user ที่ชื่อ theman ใหม่ เพื่อจำกัดสิทธิในการเข้าใช้ shell |
#usermod -d /home/theman theman | กำหนดให้ theman มี homedirectory อยู่ที่ /home/theman |
#usermod -c "Mr.Suwit Somsupabrungyod" theman | กำหนดให้ comment หรือชื่อ เป็น Mr.Suwit Somsupabrungyod ซึ่ง comment จะไปแสดงผลให้เห็นชัดเจนตอนที่ใช้ pine เมื่อพิมพ์คำว่า theman ในช่อง to ขณะที่กำลัง compose จะแสดง comment หน้า email ให้ทันที |
|
|
|
Android Testing in Terminal Emulator
 |
|