UNIX System administration: Customizing user accounts

Source: Internet
Author: User
Keywords Custom UNIX system management user account
Tags accounts administration change command line configuration custom customize default

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.