[CentOS] adduser vs. useradd

Niki Kovacs contact at kikinovak.net
Tue Nov 25 08:26:43 UTC 2008


Thomas Iverson a écrit :
> Hi there , you are almost right
> adduser is only a symbol-link of the useradd in CentOS , for my
> explanation , it may be security-related
> you know , to use useradd , you can also specify the home dir,group
> and so on , but script codes have danger
> adduser under some distros such as archlinux,slackware is a
> bash-script , so if you think it's more convenient to use a
> user-friendly adduser written in bash , you can do it yourself , but
> before that you should know exactly how to create a new user without
> useradd-like utilities
> 
Hi,

I just found a copy of "RHEL 5 Unleashed", and there's a very clear 
chapter about local user management, which explains Red Hat's specific 
use of 'useradd', especially default options.

Cheers,

Niki


More information about the CentOS mailing list