Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.
useradd -m -G admin user2
useradd -m -G admin user3
verify
lid user2
lid user3
Now passwd
passwd user2
passwd user3
Verify
su user2 > should allow access
su user3 > should allow access
This is correct when you modifying existing user and adding more supplementary groups but if you creating new user you can use just -G for supplementary/additional group.
upvoted 1 times
...
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
RedQuasar
Highly Voted 3 years, 6 months agogunwantk
Highly Voted 2 years, 8 months agoLazylinux
Most Recent 3 days, 20 hours agosugisho
2 years, 11 months agosugisho
2 years, 12 months agoionix
3 years, 3 months agojuliansaccount
3 years, 9 months agocytron
3 years, 8 months ago