hello,

you have to specify the home directory of the user, you have used the -m
option to force creation of the directory but have not specified one. here
is an example of how to create user named test, member of the group
sysadmin:
useradd -d /export/home/test -m -g sysadmin -c "Test User" -s /bin/bash test

hope this helps
Stoyan


----- Original Message ----- 
From: "Richard Crawford" <[EMAIL PROTECTED]>
To: "Solaris Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, January 29, 2004 8:57 PM
Subject: [Solaris-Users] Error when creating users


> I'm trying to add new users to my Solaris 9 server with the following
> command:
>
> # useradd -s /bin/bash -g staff -m -k /etc/skel login
>
> ...but the error I get back is,
>
> UX: useradd: ERROR: Unable to create the home directory: Operation not
> applicable.
>
>
> I'm not sure how to address this error.  I've looked in man useradd but
> only found that the error might crop up, not how to fix it.
> _______________________________________________
> Solaris-Users mailing list
> [EMAIL PROTECTED]
> http://www.filibeto.org/mailman/listinfo/solaris-users
>
>


_______________________________________________
Solaris-Users mailing list
[EMAIL PROTECTED]
http://www.filibeto.org/mailman/listinfo/solaris-users

Reply via email to