The tag has no wiki summary.

learn more… | top users | synonyms

-1
votes
0answers
26 views

Can't find /etc/login.defs

I've just started taking a Ubuntu-class. The task now is that I'm supposed to go to /etc/login.defs to see if there's an entry called CREATE_HOME there. The problem is that I can't see the login.defs ...
0
votes
0answers
19 views

Another user's home folder deleted while using adduser?

I added a user as root via useradd user_1 and then set their password via passwd user_1 Their home folder was at /home/user_1 and was full of stuff. I then added another user as root via 'adduser' ...
-4
votes
1answer
93 views

useradd instead of adduser,

So I installed Ubuntu 13.04, set up sftp, that's all good. Setting up vsftpd for regular FTP users (we need those too, sadly. sftp isn't for good for all our purposes), i accidently used useradd to ...
0
votes
1answer
475 views

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

So, while trying to upgrade to 14.04 I encountered this error: Could not calculate the upgrade An unresolvable problem occurred while calculating the upgrade. Please report this bug against the ...
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
65 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
221 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
45 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 ...
69
votes
4answers
51k views

What is the difference between adduser and useradd?

What is the difference between the commands adduser and useradd?
0
votes
1answer
148 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
476 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
2k 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
65 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
11k 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 ...
3
votes
1answer
20k 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 ...