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

learn more… | top users | synonyms

0
votes
1answer
15 views

How to restore/add previous user account

I've recently fixed a broken installation by reinstalling Ubuntu with a new username, and thankfully my old account survived (yay). Now I'd like to add my old account back to Ubuntu. Note that I'm not ...
0
votes
1answer
8 views

-ingroup vs --ingroup

Instead of: sudo adduser --ingroup hadoopgroup hadoopuser I did a: sudo adduser -ingroup hadoopgroup hadoopuser am OK to go? Or the single - will cause a problematic user.
0
votes
2answers
71 views

Automatically create folder in new users' home directory

I need to automatically assign every new user that gets created a certain folder Sales in their home directory. (e.g. when you add the user tim, tim automatically gets a folder named Sales in his home ...
5
votes
1answer
82 views

Set or determine the UID range for guest accounts

For a special purpose it seems like I need to know the UID (user ID) of my guest accounts. As guest accounts are created and (usually) removed automatically whenever one is needed, the UIDs are not ...
0
votes
0answers
25 views

How can I add a user to group root? [duplicate]

I can't add a user to the group user when I do sudo adduser gonzalezx600 root. It gives me this: gpasswd: cannot lock /etc/group; try again later. And then the following error: adduser: ...
0
votes
1answer
64 views

How to create Guest User Account in Ubuntu without Password?

I have a desktop computer with kubuntu. How can I create a Password-less Guest Account. [Files and History must be deleted at logout]
0
votes
2answers
65 views

Can I add a user group to another group in Ubuntu?

I have file named abc.txt and 3 groups (Teacher, Staff and Student). I want to create a group name CanView, which allow Teachers and Students to view the file abc.txt. Can I add Teacher and Student to ...
0
votes
2answers
88 views

password does not work with useradd -p

I am running ubuntu 14.04 LTS. I ran the following command to create a user $sudo useradd -m -p password1 guest_user and then tried to switch to the user with $su guest_user But i could not ...
1
vote
0answers
103 views

create multiple users from csv file and communicate them the password

I have to create multiple users in an Ubuntu environment from a csv file that lists their names and password. I am using the following tutorial Import users from CSV file But I am not been able to ...
1
vote
0answers
14 views

I am attempting to add a user but the terminal seems to crash [duplicate]

I'm trying to add a user using: sudo -s adduser leslie I get this result: [sudo] password for david: From then on I type but nothing appears. I need to setup the Sharing preferences. I'm using ...
0
votes
1answer
42 views

How to migrate/merge files from one user to another user in same computer?

Ubuntu 14.04 No Dash No Menu on an User Account ^ This a follow up question Since my problem can't be solved and I want to delete the user that got problem, I think I want to move all user files ...
1
vote
1answer
751 views

“Warnings” while creating user with adduser

While creating a system user using adduser, it responded with a lot of entries like the following: myser@machine:~$ sudo adduser --system backup_user Adding system user `backup_user' (UID 108) ... ...
1
vote
1answer
48 views

unable to login into recently created administrative user account

the account is active, and I can log in using a TTY but mot through the GUI. when logged it shows the same image active with the other user account but a message saying: No directory, logging in ...
1
vote
2answers
78 views

I'm unable to add password to newly created user

I just created a new account with Administrator privileges but cannot set up the password to activate account. I don't know how to set-up the account password via terminal.
0
votes
1answer
66 views

How to set default account-expiration date for all new users?

How can I set a default account-expiration-date for all new users? I know we can do it for every new added user with the --expiredate, but I want that it is default and done for every new user! ...
2
votes
3answers
331 views

adduser.conf NAME_REGEX is not working

I am trying to set a rule for new users. I changed the /etc/adduser.conf file by adding the line: NAME_REGEX="[A-Z]{1}[a-z]{5,9}$" but after that, the system is not accepting any user.. always ...
0
votes
0answers
14 views

Defining what happens after trying 3 times to add a user with a pass that doesn't match the pass-policy set in pam.d

I've set a password policy, when creating a user for example, so that just passwords with at least 1upper- 1lower-case, 1symbol, 1digit and minimum 10character length are accepted. Now the problem ...
1
vote
1answer
106 views

Set password security with pam.d (urgent homework)

I am trying to change the password security check. I would like to set rules for the password when adding a new user. Here is the content of my /etc/pam.d/common-password file: password ...
-1
votes
2answers
190 views

When to use adduser or useradd [duplicate]

The Question consist of three parts What are the differences between them When to use adduser or useradd and why there is more than one command for the same purpose
2
votes
2answers
92 views

Automate user creation [closed]

I have a site for my students, and it is running on Ubuntu 14.04. When my students register themselves on my site, I store user info in an MySQL DB. I would like to give my students a website on my ...
1
vote
2answers
407 views

Simplest way to set up new user with SSH access on remote host, given root access

I am writing a tutorial on setting up Ceph the hard way, shell all the way. I am not happy with the number of ssh commands it takes to connect to a remote host as root, create new user, then scp keys ...
1
vote
0answers
62 views

How can I add new user for GUI login?

I add new user in terminal, I can login in terminal. But I would like to login to GUI (Gnome) with this user. What should I set up?
0
votes
0answers
94 views

What does adduser --disabled-login REALLY do

According to the manpage the difference between the parameters --disabled-login and --disabled-password is supposed to be that the former should mean that login should not be possible, but is it ...
6
votes
2answers
352 views

Corrupted /etc/adduser.conf

My /etc/adduser.conf file got corrupted: $ less /etc/adduser.conf "/etc/adduser.conf" may be a binary file. See it anyway? How can I reinstall a fresh copy?
1
vote
0answers
235 views

How can I login into a domain user account or login as other user in Kubuntu?

I do have a kubuntu box connected to our Windows AD DC, and now i want to login one domain user in my AD to my kubuntu box but I cannot find a way to log as other user in the login screen. I tried to ...
0
votes
1answer
41 views

Adduser and setting up files for each new user

Does Ubuntu have a directory where new users get the default folder contents? I'm trying to install a shortcut for all users to playonlinux, including users I've not added yet. Can that be done?
17
votes
1answer
772 views

“Admin” user automatically has sudo privileges

I added a user named "admin" to my Ubuntu 14.04LTS server, using adduser. I'm used to having to add a user to the /etc/sudoers file when adding a new user that needs sudo privileges, but this time I ...
2
votes
1answer
3k views

How to add user from apache user group in linux

The question is simple. How we can add user without root privileges (because www-data is very important for security)? For example adding user with root user: sudo adduser user group Without root ...
2
votes
1answer
1k views

Not able to create user on Ubuntu 14.04 (32 bit)

I'm sorry this post is so long, but I wanted to make sure that all the stuff that might be relevant was readily available. I've been trying to create a new user account on my laptop, and, even though ...
0
votes
1answer
65 views

adduser causes strange messages when called from preinst script

I have a .deb package in which I have a preinst script that executes the adduser program in case a certain user is not already present on the system. $(id -u {username} > /dev/null 2>&1) if ...
0
votes
1answer
100 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
492 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
413 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
1answer
183 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
48 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
42 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
1k 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 ...
-2
votes
1answer
269 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 ...
1
vote
2answers
68 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 ...
4
votes
1answer
7k 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
1k 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
95 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
91 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 ...
4
votes
1answer
5k views

What do the `--disabled-login` and `--gecos` options of `adduser` command stand 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
2answers
3k 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
8k 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 ...
5
votes
1answer
25k 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 ...
2
votes
2answers
733 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
3k 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
307 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 ...