[ Team LiB ] Previous Section Next Section

Tools for Adding and Administering User Accounts

Table 31 lists the recommended tools for adding and administering user accounts on systems with a graphics monitor running an X Window System such as CDE or OpenWindows.

Table 31. Recommended Tools for Administering User Accounts

Environment

Recommended Tool

Availability/Documentation

graphics/new.gif Remote or local systems in a networked, nameservice (NIS, NIS+, LDAP, or DNS) environment.

SMC System Configuration/Users tools.

Available starting with the Solaris 8 Update 3(1/01) release.

Local system.

SMC System Configuration/Users tools.

Provided with the Solaris Operating Environment. Documentation available in Solaris Management Console Tools, available from Sun Microsystems Press and Prentice Hall.

Command line.

Terminal window (CDE Environment) or shell tool or command tool (OpenWindows environment).

Provided with the Solaris Operating Environment. See Table 32 for a list of available commands. Refer to the appropriate manual pages.

graphics/new.gif

By default, SMC manages accounts on the local system. You can create a nameservice domain toolbox to manage accounts in the LDAP, DNS, NIS+, or NIS name services. Refer to the Solaris Management Console Tools book available from Sun Microsystems Press and Prentice Hall for instructions on how to create a nameservice domain toolbox. Chapter 2, "Working with the Solaris Management Console (Tasks)," in the Sun System Administration Guide: Basic Administration also contains information about how to create a nameservice domain toolbox.

You can add and administer user accounts from the command line if you choose not to use the SMC System Configuration/Users tools. Table 32 lists the Solaris commands you can use to administer user accounts.

Table 32. Solaris Commands Used to Administer User Accounts

Task

Name Service

Commands

Add a user account.

NIS+

nistbladm

nisclient

 

NIS

make

 

None

useradd

Modify a user account.

NIS+

nistbladm

 

NIS

make

 

None

usermod

Delete a user account.

NIS+

nistbladm

nisclient

 

NIS

make

 

None

userdel

Set up user account defaults.

NIS+

not available

 

NIS

make

 

None

useradd -D

Disable a user account.

NIS+

nistbladm

 

NIS

passwd -r nis -l

make

 

None

passwd -r files -l

Change a user's password.

NIS+

passwd -r nisplus

 

NIS

passwd -r nis

 

None

passwd -r files

Sort user accounts.

NIS+

niscat

sort

 

NIS

ypcat

sort

 

None

awk

sort

Find a user account.

NIS+

nismatch

 

NIS

ypmatch

 

None

grep

Add a group.

NIS+

nistbladm

 

NIS

groupadd

make

 

None

groupadd

Modify users in a group.

NIS+

nistbladm

 

NIS

groupmod

make

 

None

groupmod

Delete a group.

NIS+

nistbladm

 

NIS

groupdel

make

 

None

groupdel

You may find it useful to create a form from the following checklist to ensure that you have all the needed information about a user account before you create it.

  • User name.

  • UID.

  • Primary group.

  • Secondary groups.

  • Comment.

  • Default shell.

  • Password status and aging.

  • Home directory server name.

  • Home directory path name.

  • Mounting method.

  • Permissions on home directory.

  • Mail server.

  • Department name.

  • Department administrator.

  • Manager.

  • Employee name.

  • Employee title.

  • Employee status.

  • Employee number.

  • Start date.

  • Mail aliases to add account to.

  • Desktop system name.

    [ Team LiB ] Previous Section Next Section