Which two are true about accounts, groups, and roles in the Solaris user database?

Which two are true about accounts, groups, and roles in the Solaris user database?

Which two are true about accounts, groups, and roles in the Solaris user database?

A.
All Solaris user accounts must have a unique UID number.

B.
A Solaris account name may be any alphanumeric string, and can have a maximum length of 8
characters.

C.
Account UID numbers 0-09 are system-reserved.

D.
The GID for an account determines the default group ownership of new files created by that
account.

E.
The groups that an account is a member of are determined by the entries in the /etc/group file.

Explanation:
A: Solaris uses a UID (User ID) to identify each user account. The UID is a unique
number assigned to each user. It is usually assigned by the operating system when the account is
created.
B: In Solaris the account name can include any alphanumeric string (and . _ -). The maximum
length is 8 characters.
Reference: How to Modify a UID in Solaris



Leave a Reply 12

Your email address will not be published. Required fields are marked *


Paul

Paul

I don’t think “A” is correct, check the “-o” option in useradd. Answer B + D ??

Phumlani

Phumlani

Hi Paul, A is correct. Users cannot have the same UID, you can try it yourself even, it will give you an ERROR: uid is already in use. Choose another.

Phumlani

Phumlani

Honestly, I can’t really see a wrong answer here.

Phumlani

Phumlani

Except for C, unless that was a typo error, and should be 0-99

bdt

bdt

D and E

useradd command accepts usernames up to 32 characters. OS may warn beyond 8 characters – simply ignore if more than 8 characters is a requirement.

eg.,
# useradd guyfawkes
UX: useradd: guyfawkes name too long.

# su guyfawkes

# id guyfawkes
uid=110(guyfawkes) gid=10(staff)

ben

ben

B incorrect with test
#useradd test123456789
UX: useradd: test123456789 name too long.
# cat /etc/passwd | grep test
test123456789:x:1002:1::xxxxx:/usr/bin/bash

A, D & E are correct

ben

ben

sorry A is incorrect with test:
useradd -u 101 -o test2 (uid 101 exist with user test1) and the command pass
so the correct answer are D, E

Castano

Castano

Passed 1Z0-821 exam with a score of 90% (the passing line is 64% now)!

Got 70 questions, and questions were mainly on:
1. Installing Oracle Solaris 11 using an Interactive Installer
2. Administering Services
3. Setting Up and Administering Data Storage
4. Administering Oracle Solaris Zones
5. Setting Up and Administering User Accounts
6. Controlling Access to Systems and Files
(New) 7. Managing the SYSLOG facilityManaging the CRON facility
(New) 8. Managing the SYSLOG facility

Pay close attention to the up 7 & 8 topics when preparing for the 1Z0-821 exam. Questions on those two topics are not available on this site.

And, you can refer to the most valid 1Z0-821 dumps (2017 version) here:

http://www.oraclebraindump.com/?s=1Z0-821

(Those questions are part of PassLeader 1Z0-821 dumps, recommend to get its full version 1Z0-821 dumps with VCE and PDF.)

Good Luck!