Saturday, May 7, 2011

Managing Users in Fedora Linux

Linux was designed from the ground up to be a multiuser system. When it’s deployed on huge mainframe computers, it’s capable of serving hundreds, if not thousands, of users at the same time, provided that there are enough terminal computers for them to log in. In a more domestic setting, such as when Fedora is installed on a desktop PC, it usually means that more than one family member can have their very own account on the PC. Any files that users create will be private, and users will also get their own desktop environment that is separate from those of the other users.

Even if you’re the only person using your PC, you can still take advantage of Fedora’s multiuser capabilities. Consider creating user accounts for various aspects of your life—perhaps one for work and one for time spent browsing the Web. Each user account can be tailored to a specific need.

Each person who wishes to use Fedora must have a user account. This will define what that user can and cannot do on the system, with specific reference to files. Because Fedora is effectively one large file system, with even hardware devices seen as individual files (see Chapter 14), this means that user permissions lie at the heart of controlling the entire system. They can limit which user has access to which hardware and software, and therefore control access to various PC functions. Each user also belongs to a group. Groups have the same style of permissions as individual users. File access can be denied or granted to a user, depending on that person’s group membership. Each user also belongs to a group. Groups have the same style of permissions as individual users. File access can be denied or granted to a user, depending on that person’s group membership.