the useradd utility first checks the /etc/login.defs file for default values for creating a new account. for those defaults not defined in the /etc/login.defs file, useradd supplies its own. you can display these defaults using the useradd command with the -D option. values the user enters on the command line will override the corressponding defaults.
ex: useradd jeff -g introl -u 689
useradd options
No comments:
Post a Comment