Hey, not sure if this is the correct group - but when i use the command useradd, it creates the user but not the default home directories. When i use webmin, it creates the user along with home dir - any suggestions ? John Long Esat Fusion Grand Canal Plaza Dublin 4 Tel: +353 (0)1 432 7147 Mail: jlong@esat.com Phone 1890 923 111 or 1550 923 555 http://www.esatfusion.com ************************************************************************ This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. http://www.esatbusiness.com Subscribe to the Esat Business Online Magazine: http://www.esatbusiness.com/news/subscribe.asp Subscribe to REALISE - the online magazine from BT Ignite: http://www.btignite.com/realise ************************************************************************
John Long wrote:
Hey,
not sure if this is the correct group
not really ...
- but when i use the command useradd, it creates the user but not the default home directories. When i use webmin, it creates the user along with home dir - any suggestions ?
man useradd: -m The user's home directory will be created if it does not exist. The files contained in skele ton_dir will be copied to the home directory if the -k option is used, otherwise the files contained in /etc/skel will be used instead. Any directories contained in skeleton_dir or /etc/skel will be cre ated in the user's home directory as well. The -k option is only valid in conjunction with the -m option. The default is to not create the directory and to not copy any files. HTH, Sven
participants (2)
-
John Long
-
Sven 'Darkman' Michels