The tag has no wiki summary.

learn more… | top users | synonyms

15
votes
1answer
3k views

Run adduser non-interactively

I'd like to use the adduser command to add a user (with disabled password) via a shell script. By default, adduser prompts you for various values (e.g., Full Name). Is there any way to submit these ...
7
votes
2answers
6k 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. ...
5
votes
1answer
391 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.
4
votes
1answer
4k views

How do you change the default shell for ALL USERS to bash?

I want every new user from now on to have bash as their shell by default. I know that to change your own shell to bash, you would use the command "chsh -s /bin/bash", but how do I automatically set ...
4
votes
3answers
391 views

How can I create a new user with the equivalent of a Windows guest-user's permissions?

Basically, I want the new user to have only a few permissions -- can't read the normal users' home directories, can only read or write files to one directory (can only read or write /home/user/... can ...
3
votes
2answers
5k 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. ...
3
votes
1answer
56 views

Locale warning while executing adduser

I just tried to add an user to a group $ adduser someuser sudo perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "en_US:en", LC_ALL = ...
3
votes
2answers
2k views

How does “Accounts Service” work with lightdm?

I have added two users using the command useradd but they do no show up in the lightdm/unity-greeter login screen. So there is no way to graphically login for them. It seems Accounts Service ...
3
votes
0answers
240 views

Problem when creating aditional users [closed]

I just upgraded to ubuntu 11.04. I've no issues with creating users, but if they login an error occurs. For example, when I create the user "luli" and login with that user, I got the error: Could ...
2
votes
2answers
658 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 ...
2
votes
2answers
2k 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 ...
2
votes
1answer
99 views

Problems creating a new user in Ubuntu

I am experimenting with nginx+uswgi+Flask and am following this tutorial. However when I get to the portion for creating a new user for uswgi I am having troubles. When I enter the command from the ...
1
vote
1answer
52 views

What is the right way to gain sudo privileges

I have just created a new Rackspace cloud server and I need to set it up. I created a new user with the adduser command and currently the user is only in a group with the same name. For the sudo ...
1
vote
1answer
189 views

How to create a group which is allowed to use the adduser command?

Does anyone know the commands for each step listed below? Create a new sudoers group called privilege1 allowing the use of the adduser command and nothing more. The sudoers configuration file is ...
1
vote
2answers
1k views

Ubuntu Server adding a new user

Hi i am new to Ubuntu server and i have been trying to add a new user. I typed in adduser then username and also tried useradd then username but it does seem to add a user but when i login i only get ...
1
vote
1answer
113 views

Home folder doesn't update or show newly added users

I am having a very big problem and that is, whenever I add a new user (via command line with adduser krishna command) the user is created but it's home folder or it's own private folder isn't created ...
1
vote
2answers
141 views

How to add user to separate filesystem (Armel)

I'm trying to work out how to add a user to a separate filesystem, as described here, specifically point 5: Add a local user and password for the user, then add the user to the adm and sudo groups. ...
1
vote
1answer
50 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 ...
1
vote
0answers
264 views

Can't login after upgrade - invalid password

Before upgrading to 12.04, I decided to update everything. Unfortunately this resulted in a system that wouldn't boot (due to an update to kernel 3.0.0-23 from 3.0.0-16), now fixed using initramfs. ...
0
votes
2answers
247 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 ...
0
votes
2answers
230 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 ...
0
votes
1answer
19 views

Adding user with existing encrypted home

My system has separated /home partition which is encrypted. I did a fresh install with a new temporary user. Now, I want to add old_user back with existing encrypted home. Is it possible?
0
votes
2answers
1k views

How to add user from guest account/root? [duplicate]

Possible Duplicate: How do I reset a lost administrative password? For some reasons i have deleted my user with his /home/. And now i have guest account and root, for which i can't set ...