The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
11 views

Create a user with options [duplicate]

Trying to create a new user with the options: username, uid, gid, fullname, homedir, shell and password. This didn't work, any idea?: useradd --uid=2002 --gid=2000 --create-home=/home/seven ...
2
votes
0answers
23 views

How to create multiple users during installation?

Now these days I am working on a Ubuntu customization project. In which I want to add this feature that Customizes OS can be able to create 2 users automatically during the installation. User can be ...
0
votes
1answer
46 views

sudo useradd wont make home directory

I have an automatic script which works, only it just never makes a home directory. The data is extracted from a database. Heres the script: $SQL -s -e "SELECT uid, password FROM registrations WHERE ...
0
votes
1answer
29 views

How many users can I create with useradd without having a visible performace degradation

Assuming that I have a PC with 2GHz processor, 4GB RAM. How many users can I create with useradd without noticing a visible change in performance in server file operations like (copying files form ...
0
votes
0answers
63 views

useradd isnt adding a home directory even with -d flag?

I have abit of PHP code; <?php error_reporting(E_ALL); ini_set('display_errors', TRUE); ini_set('display_startup_errors', TRUE); if(!empty($_GET) && !empty($_GET['user']) && ...
18
votes
3answers
12k views

What is the difference between adduser and useradd?

What is the difference between the commands adduser and useradd?
0
votes
1answer
120 views

Problem in creating all default directories while adding a new user account in Ubuntu 12.04?

I am facing a bizarre problem recently in Ubuntu 12.04 while adding a new user. User adding command such as useradd -d /home/username -s /bin/bash -m username in the terminal only creates a ...
0
votes
1answer
178 views

On Ubuntu 12.04 is /etc/skel/ the correct place to put extra files for new users?

On Ubuntu 12.04 is /etc/skel/ the correct place to put extra files for new users? In the Linux Administration Handbook it mentions files from /usr/local/lib/skel which doesn't seem like an ...
0
votes
1answer
1k views

Ubuntu command 'adduser' is not creating directory 'usertes' in '/home'

I have been creating a user with command adduser, but it did not create directory /home/usertes, # adduser usertes And this happens if I delete the user with command userdel: # userdel usertes ...
1
vote
1answer
51 views

switching to new user limits console capabilities

I'm creating a new user: groupadd sybase useradd -g sybase -d /opt/sybase sybase passwd sybase chown sybase:sybase /opt/sybase chown sybase:sybase /var/sybase then switch to this user: su - sybase ...
5
votes
3answers
8k views

Cannot login to newly created user account

Trying to switch accounts to my newly created account I get a black screen and then it takes me back to the main login screen after entering the correct password. Upon logging into my previously ...
2
votes
1answer
14k views

useradd: cannot lock /etc/passwd; try again later

Trying to add a user: useradd -c "test" -d /home/bbbbbbbb -e "01-jan-2013" -f 10 -g admin -p secretfgjdhdgd -s /bin/bash -u 123456 blobblob but getting: useradd: cannot lock /etc/passwd; try ...