Tagged Questions

adduser and addgroup are friendlier front ends to useradd, groupadd and usermod.

learn more… | top users | synonyms

0
votes
1answer
11 views

Create user and block access to parent directories

New to terminal shenanigans here and I have set up a user using adduser dave --no-create-home/ Firstly, I think the user still, upon logging into the terminal, is pointed to their home directory (what ...
0
votes
1answer
41 views

New user can't login from FTP in ubuntu server 14.04

I have install a new ubuntu server 14.04 instance on our server and creating a user for FTP access.but the the user can log in via terminal on the server but can't login via FTP.I am using proftpd for ...
0
votes
1answer
46 views

Problem with adduser on new install

I am a noob trying to get an install of ubuntu 14.04 LTS up and running on a virtual server on linode. I have not done much on it yet. Earlier today I tried to add some users. I was able to add one ...
0
votes
0answers
18 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' ...
0
votes
1answer
46 views

DIR_MODE has no effect on domain-joined user profiles in /home

In /etc/adduser.conf I edited it to be DIR_MODE=0750 so all home directories are not world readable. However, this only seems to effect LOCAL users in the /home directory. I have since joined my ...
0
votes
1answer
28 views

What are the files needs to be edit to add a user? and what to be write?

I am trying to write a C program to add a new user to my Ubuntu 14.04. I edited 1) /etc/passwd sachin:x:65535:1:sachin:/home/sachin:/bin/bash 2) /etc/shadow ...
0
votes
1answer
34 views

Managing passwords

I've created as administrator other account using the command sudo adduser newuser. The system asked for a UNIX password and I provided it, but now I want to create a sudo password for that account. I ...
0
votes
1answer
50 views

How to create Maildir on user creation?

How do I make the adduser script create the appropriate Maildir directory of the new user? I have an Ubuntu server running postfix. When I first installed it was deliverying emails to ...
-4
votes
1answer
74 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
2answers
43 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 ...
0
votes
0answers
44 views

Problem while creating new user in 64 bit 14.04

I tried to create new user Ubuntu 64 bit 14.04 I could log in using any console but when I try to log in using graphical mode, in new user I dont see the left menu and all that. It only shows Desktop ...
0
votes
1answer
1k views

How to remove user from Ubuntu?

I added group using the command in terminal as, $ sudo addgroup XXX And I add user under that group, $ sudo adduser --ingroup XXX YYY Now, I need to remove the same group as well as user(s), how ...
-1
votes
1answer
676 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 ...
2
votes
2answers
70 views

When you create user using adduser what happens on the system?

I see that /home/user folder is created. /etc/passwd file has an entry with non bin/false or bin/nologin shells. /etc/group has user group. /etc/shadow has the password. Is there something else ...
2
votes
0answers
57 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 ...
2
votes
1answer
964 views

What for `--disabled-login` and `--gecos` parameters from inside of `adduser` command stands for?

Running Ubuntu 12.04, I setup a private git server and created a group called git some time ago. Now I am following a guide to install gitlab and when it came to adding a user to the git group and ...
1
vote
0answers
125 views

Permissions problems with Ubuntu 12.04 Web Server (Nginx + PHP5-fpm)

I've been trying to wrap my head around the permissions system on Linux, but I'm having some problems. I setup a web server using the Tuxlite.com script and everything works fine, as long as I login ...
1
vote
2answers
722 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 ...
1
vote
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
1answer
814 views

Create the home directory while creating a user [duplicate]

I have added user using the adduser command, but a directory with is new user name is not created in /home, and I'm also not able to run any command with this user. After logging from this user it's ...
0
votes
0answers
241 views

Running a script with cron

When a script is run manually, it works with no errors. The script is to add a user. However when run in cron, I get emails saying: sudo: no tty present and no askpass program specified Sorry, try ...
0
votes
0answers
204 views

Error while installing activemq

When I am using sudo apt-get install activemq to install activeMq on ubuntu 13.04, I am getting below exception Setting up activemq (5.6.0+dfsg-1) ... **/var/lib/dpkg/info/activemq.postinst: 11: ...
2
votes
2answers
232 views

why is there no name showing at the command line?

a hopefully simple one here, I don't know why there's no username at the $ when a new account is added and you login? Welcome to Ubuntu 12.04.3 LTS (GNU/Linux 3.2.0-23-generic-pae i686) * ...
1
vote
1answer
597 views

Adduser: group sudo does not exist

I am able to login to my account but can't do anything related to superuser now. Updates, sharing, sudo and all things say authentication failed. I tried to correct that by going in recovery mode and ...
0
votes
2answers
102 views

How to log in to admin account from a non-admin account?

I have an admin account with sudo privilege. I have created a new user but haven't given a sudo privilege to it. Then I logged in as that new user: sudo -i -u foo_user Now I want to get back to my ...
1
vote
1answer
44 views

Changed suoders to an account that doesn't exist, what should I do

I've installed ubuntu 12.04 with single user, let's call him user1. I then created a new user, let's call him user2. I wanted user2 to be the only user with sudo rights, so I removed all users from ...
1
vote
1answer
5k views

Installing FTP and adding user to FTP account

I installed ftp on a ubuntu server and now want to add a user. I am using this tutorial : http://www.debian-administration.org/articles/383 Everything was working fine but I stuck on the step of ...
0
votes
1answer
212 views

Troubles with permissions of a new user

I want to create a new user and give him possibility to use git. So, I've installed git: sudo apt-get install git After that I've created a user: sudo useradd -d /home/developer -s /bin/bash -g ...
1
vote
0answers
301 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 ...
3
votes
1answer
131 views

What can a user do without sudo?

I'm setting up a server and want a user to only have access to his own files. I do a regular adduser command: sudo adduser username And give the user a password. Then I log in to it via ssh and see ...
56
votes
4answers
41k views

What is the difference between adduser and useradd?

What is the difference between the commands adduser and useradd?
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 ...
1
vote
2answers
8k views

How to add a user to Ubuntu 12.04

This is very weird, when add a user using the command line then set a password I cant login using the GUI! is this a new thing or what?
3
votes
2answers
9k 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
139 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
282 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 ...
1
vote
1answer
171 views

Admin name appears twice if it asks for admin password. Ubuntu 12.04 LTS

I was trying to apply some given items at this page to secure my Ubuntu 12,04. After applying item number 4; my user name which is the only admin, appears twice if system asks for an admin password as ...
1
vote
1answer
125 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?
1
vote
1answer
200 views

What is the right way to gain sudo privileges [duplicate]

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 ...
3
votes
1answer
589 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
3k 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 ...
3
votes
1answer
5k views

Is it necessary to reboot after changing group membership?

I would like to know, why it is required to reboot, to apply the changes, which I made. I refer to the use of adduser username sudo I use Ubuntu 12.04.1 LTS "Server".
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 ...
5
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
2answers
7k 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 ...
4
votes
2answers
26k views

Adding a new user on Ubuntu server

I have been trying to add a new user. I typed in adduser then username and also tried useradd then username. It does seem to add a user, but when I login I only get a dollar sign instead of ...
1
vote
2answers
1k 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
120 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
872 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 ...