Unlimited web hosting - Solaris Solaris provides a tool called admintool, which

Solaris Solaris provides a tool called admintool, which allows for granular management of accounts and groups. To access admintool, type the following at the command line: admintool & The ampersand (&) after the command puts the command process in the background so you can continue using the terminal window for other operations. It has many features and can manage devices as well as users. To learn more about the capabilities of this tool, visit Sun Microsystems Web site (www.sun.com) and search for admintool. Becoming Another User There are times when you will need to log into another account without logging out of the system. There are two commands that enable you to do this: su and sudo. The su (switch user) command is available on all versions of Unix. It enables you to remain logged in as yourself while accessing another account. You must know the password for the account you are trying to access using su unless you are the root user, in which case you don t need a password (on the local system). Here s the syntax for su: su accountname If you are logged in as jdoe, for example, and want to log in as jsmith, type: su jsmith When using su, you continue to use your own environment variables and profile (which you ll learn in Chapter 5). If you want to use the account s user environment, put a dash (-) between the su and the account name: su - jsmith You will be asked for the password of the account to which you are switching unless you are the root user, in which case you are immediately logged in to the account. If you type the su command with no account name (with or without the -), you are attempting to log in to the root account and will be asked for the root password. (Many people think su stands for superuser because running the su command by itself takes you to the root, or superuser, account). When you have completed the tasks requiring the account you ve su d to, type exit. You re returned to your original account (and environment, if applicable). The sudo (superuser do) command enables the superuser, or root administrator, to delegate commands that can be run by others. It is not available on all Unix systems but can be downloaded from http://courtesan.com/sudo/. Here s the command s syntax: sudo command to run 46 Chapter 3
Note: If you are looking for cheap and reliable webhost to host and run your mysql application check Vision professional web hosting services

Leave a Reply