0
votes
2answers
42 views

Is adding a user needs password [duplicate]

In my Ubuntu after login by my user account, I want to create another user I intered bellow commands : adduser alex_2 -m I created new user, but when I want to login, Ubuntu needs passwords and I ...
-1
votes
1answer
582 views

Problem while trying to create users in Ubuntu 14.04 64bits version

My problem began when I tried to create a new user in GUI mode. When I click on "users accounts" in "System configuration" the window changes to black and stops responding. I tried to reinstall the OS ...
1
vote
2answers
608 views

How to create a new user without home directory and with specific UID

How can I add a new user "Kids" with UID = 500 and without home directory with adduser command in terminal? I'm trying this: sudo adduser --no-create-home --uid ID 500 Kids and after correctly ...
0
votes
1answer
2k views

How I set the home directory and shell for a new user? [duplicate]

I am using 12.04 on my server. I created a new user using adduser me and passwd me and added it to sudo when I login this is what I see. Could not chdir to home directory /home/me: No such file or ...
1
vote
0answers
289 views

useradd -p broken in 12.04 LTS?

I have a mail benchmarking application that I need to set up, and part of that includes setting up at least several hundred dummy user accounts. I had this scripted so I could easily recreate the ...
1
vote
0answers
38 views

New user has low display resolution

I have created a new user with adduser . Now when I log in as this new user I only have options to select display resolution up to 1024x768, as I had as my main user when I installed the system (I ...
2
votes
2answers
8k views

Proper way to add a user account via bash script

Here's the script code I'm using now: getent group $MYGROUP if [ $? -ne 0 ] ; then sudo su -c "groupadd $MYGROUP" fi sudo su -c "useradd mynewuser -p mypassword -m -g $PRIMARYGRP -G $MYGROUP" ...
2
votes
2answers
136 views

How to secure system users which only runs application processes?

I created a system user through adduser command for use in an application I installed. This user is supposed to run application-specific processes and such (think of postgres system user doing nothing ...
2
votes
2answers
264 views

Confused about groups and adduser

I have written a script to add chrooted sFTP users. The useradd command is: sudo useradd -Ng sftponly -ms /bin/false "$USER" Did it work? groups $USER $USER : sftponly Yes it did. Great! Then ...
0
votes
2answers
2k views

ubuntu server: login with new created user > get dollar shell

when I create a new user in Ubuntu Server and then try to login with the new user I get an error message. In one case Ubuntu tells me that the home directory of the user doesn't exist when I login ...
4
votes
2answers
7k views

“Failed to create user” due to regular expression error

I'm running Ubuntu 12.10 desktop 32 bit. Currently I have only a user, type administrator. I'd like to create another administrator user but I keep getting the following error: Failed to create ...
1
vote
1answer
118 views

Fresh installation and user's management

I have Ubuntu 10.10 that works perfect for me and my family. Now I would like to install a fresh 12.10 release. I have a separated /home partition. After installing a new version, I need to configure ...
0
votes
2answers
832 views

Is there an automated way to batch create a set of users? [duplicate]

Possible Duplicate: Run adduser non-interactively I've looked into adduser and can see there are some modification flags that I can configure, but this still processes a single user at a ...
2
votes
2answers
10k views

How do I add or delete user accounts?

How do I add or delete user accounts in Ubuntu? I know that the "useradd" command could be used to do this, but I hear that Ubuntu has some other command-line tool and some GUI somewhere, either one ...
15
votes
4answers
37k views

How to make user home folder after account creation?

I created a new user with useradd name and forgot to use -d -m to create their home directory. I tried making one, copying the contents of /etc/skel, and chowning everything to the new user. ...
4
votes
2answers
14k views

adduser says user exists when the user does not exist

As the subject says, I'm trying to add a new user. When I run the command, it says the user already exists. But looking in /etc/passwd, /etc/group, and /etc/shadow shows that the user does not exist. ...
5
votes
1answer
1k views

When I create a new user, how do I automatically create a .virtualenvs directory in their home directory?

I want to automatically create a directory called ".virtualenvs" in each new user's home directory upon creation of that new user. I am using the useradd command to create new users.