Prev | Current Page 354 | Next

Christopher Negus

"Linux Bible, 2008 Edition: Boot up to Ubuntu, Fedora, KNOPPIX, Debian, openSUSE, and 11 Other Distributions"


-u user_id Change the user ID number for the account. Replace user_id with the ID
number (-u 474).
As an example, to change the shell to the csh shell for the user named chris, type the following as
root user from a shell:
# usermod -s /bin/csh chris
Deleting Users with userdel
Just as usermod is used to modify user settings and useradd is used to create users, userdel is
used to remove users. The following command will remove the user chris:
# userdel chris
The only option available with this utility is -r, which is used to remove not only the user, but also
their home directory:
# userdel -r chris
Configuring Hardware
In a perfect world, after installing and booting Linux, all of your hardware is detected and available
for access. Although many Linux systems are rapidly moving closer to that world, there are times
when you must take special steps to get your computer hardware working. Also, the growing use
155
Learning Basic Administration 4
of removable USB and FireWire devices (CDs, DVDs, flash drives, digital cameras, and removable
hard drives) has made it important for Linux to:
 Efficiently manage hardware that comes and goes.
 Look at the same piece of hardware in different ways (for example, be able to see a printer
as a fax machine, scanner, and storage device, as well as a printer).


Pages:
342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366