When adding a user in solaris using “useradd”, what is parameter “-c” used for?

Options
- Password
- comment
- Specify user is a root user
- User id


CORRECT ANSWER : comment

Discussion Board
Solaris

The -c <comment> is a short description of the login, typically the user's name and phone extension. This string can be up to 256 characters. It is used to specify a comment for the account, usually the user name.

Prajakta Pandit 03-24-2017 06:37 AM

Question has the wrong answer

the -c option is comment. You can place their full name as a comment. User name does not have a flag.

from the man page
-c comment
Any text string. It is generally a short description of the login, and is currently used as the field for the user's full name. This information is stored in the user's /etc/passwd entry.


adrian 07-10-2013 10:14 AM

Write your comments


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement