-   Linux - Newbie (
-   -   how to add a user (

vikram015 11-21-2012 09:38 AM

how to add a user
i have some problem with useradd & adduser command they show access is denied why

acid_kewpie 11-21-2012 09:39 AM

you need to be root to add users, or run it via sudo...

sudo useradd username

shivaa 11-21-2012 10:39 AM

These commands are owned by root and only root can successfully invoke them, if any other user do not have specific permissions to do this.

which <useradd> <adduser>
ls -la useradd
.... root root .... /usr/sbin/useradd

So either you should be root, or you should have special permissions to do so!

All times are GMT -5. The time now is 12:57 AM.