After learning this chapter, you will be able to do the following things:
Lists the configuration files read during the logon process
Change the Default User path
Change the default User terminal type
Change the user prompt
Change user command line editor
change user Default Printer
Manage default Profiles in Skel
Why custom user accounts
Set User terminal type
Customizing the user prompt
Set user default terminals, customizing user path variables
Define a command line editor
If you simply create entries in passwd and/etc/group files, you may not be able to meet all your needs, such as:
You may need to define the user's terminal type so that the application can be correctly exported to the user's screen.
You may need to customize the user's prompt. Because many users like to display their current path name in the prompt
Although the http://www.aliyun.com/zixun/aggregation/13879.html "> system administrator defines a system default printer, some users may require a different printer.
If users want to use Third-party software, you may need to modify their path variables so that the shell can find those applications.
If users want to use command line editing and command history mechanisms, special configurations are required. You may want to configure these features for new users.
Some examples
Export term= ' vt100 '
Export ps1= ' $PWD $ '
Export lpdest= ' laser '
Export path= $PATH:/usr/local/bin
Export Editor=vi
Export histsize=40
Export Histfile=~/.sh_history