Questions tagged [adduser]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
54 views

adduser: No UID/GID pair is available in the range 100-999 (FIRST_SYS_UID - LAST_SYS_UID)

Every time a package is being installed and the system users the adduser comman I get this error that is below. the system in this case was trying to install puppet and this error was produced. ...
1
vote
1answer
78 views

Prevent adding users via gnome-control-center

We require users to be added using a special script and therefore adding users via GUI (i.e. gnome-control-center user-accounts) should be blocked to prevent someone accidentally not using the script. ...
0
votes
1answer
26 views

/home/jdoe doesn't appear after creating user named “jdoe”

I'm running the last version of Ubunutu on VirtualBox. Just learning the usermod command. I got a problem : when i type sudo useradd -d /home/jdoe jdoe or sudo useradd -D /home/jdoe jdoe or even sudo ...
0
votes
2answers
492 views

“Failed to get a list of devices: 'Forbidden'”, when list new printers on Kubuntu20.04

I installed a fresh Kubuntu-20.04, and created the first user(jacky) by means of the installer of Kubuntu, then I created the second user(leon), by using cmd-line tool "adduser", and adding ...
0
votes
0answers
44 views

Trouble creating system account and running a cron job under it

I have Ubuntu 20.04 LTS server installed on a raspberry pi 4 (no desktop) and I am trying to create a system account and have a script run under the system account when the system boots (the solution ...
1
vote
1answer
123 views

User creation with limited access

How to create a user with access to selected applications installed in the system and read/write permission to only one directory in the file system? Say, for example, one wants to create a user dummy ...
0
votes
0answers
82 views

Can't add user to sudo group

I'm on AWS and despite being looged in as root, I can't edit /etc/sudoers adduser houman usermod -aG sudo houman When I login as houman and try sudo ls: [sudo] password for houman: Any idea, why this ...
1
vote
0answers
35 views

Ubuntu Server - Users vanish after reboot

I'm a noob when it comes to Linux. So bare with me here... I'm trying to make a new user. Running adduser goes without any problems. The user's home folder is there if I look under /home/ But after ...
0
votes
1answer
377 views

New User, use /etc/skel [closed]

I can't find precise information about the /etc/skel settings for the new user to add, to the settings I have in user "model". Could someone tell me what files to skel so I don't have to ...
0
votes
0answers
67 views

I want to make a user without password requirement

so I have ubuntu 18.4 loaded on my laptop and I have my own user on it I want to make another user without root privilege for normal use of my family which is accessible without any password. I tied ...
0
votes
0answers
20 views

Giving a group access to execute the adduser command without sudo [duplicate]

Is it possible to allow a group to have unrestricted access to the adduser command Would you modify the sudoers file to include; %addusergroup ALL : (ALL) adduser I don't want to give ...
1
vote
1answer
90 views

How to create a new user with home directory in a different parition

i am trying to add a new user to my system (ubuntu 19.10) from console with a home directory in a separate partition but it seems i cannot do it properly: My default user is 'gep' and the designated ...
0
votes
1answer
192 views

Ubuntu 20.04 (Gnome) create user without graphical interface

I'm trying to create user who is hidden. I would don`t see this user on GUI welcome screen. I need that user only to administrate some applications.
0
votes
1answer
51 views

How to update field of /etc/passwd?

I want to update some contact information in /etc/passwd. It's the 5th field, shown as "user info" in the following example username : x : uid : gid : user info : home directory : shell It looks ...
2
votes
1answer
220 views

How user manager in ubuntu adds users from gui

Can anybody describe how user manager in gnome or any other DE adds users without commandline using GUI? How it binds adduser function and GTK together?
0
votes
0answers
114 views

adding user in shell script problem

I want to use a script to be able to quickly add a user to my ftp-server I thought this would work: #!/bin/sh RED='\033[0;31m' NC='\033[0m' # No Color echo -e "${RED}2020 Maraton Consulting${NC} ...
0
votes
1answer
103 views

Create new User with Completely different workspace from the others

I have just one user(For example User_One the name) and a root on my system and i want to create a second user (For example User_two the name) who I want him to have : *His own desktop with his own ...
1
vote
1answer
74 views

Trouble creating a default desktop for new users 18.4.03

How can I get default directories to show up automatically when I create a new user? I looked at messing with the /etc/xdg/user-dirs.defaults file by setting Desktop = (Folder with the dir in the) and ...
0
votes
0answers
457 views

How to allow a remote user to connect over ssh on ubuntu 18.04

Before you yell me out, I already checked the answers on the web but couldn't install the system that I want correctly. Here is what I want: Allow a remote user to connect (to my pc) over ssh and ...
1
vote
0answers
296 views

im trying to create a new user but it dosent work

After running sudo adduser charlie, I get: Adding user `charlie' ... Adding new group `charlie' (1002) ... Adding new user `charlie' (1001) with group `charlie' ... Creating home directory `/home/...
3
votes
1answer
877 views

useradd/usermod not accepting -c [duplicate]

When I run the following command : sudo usermod –c "Richard Tracy" dtracy I get the following error : Usage: usermod [options] LOGIN Options: -c, --comment COMMENT new value of the ...
1
vote
0answers
64 views

Run adduser interactively with a script password problem [duplicate]

I am able to run the adduser command with a script automaticly, but I have no idea how I can get the script to automaticly enter the password hello without needing to type it. Do you have any ideas? ...
3
votes
1answer
5k views

.bashrc and .bash_profile not created with adduser but created with useradd [duplicate]

I am adding a user named 'test' in my Ubuntu 18.04 server. When I add the user using adduser, like this: sudo adduser --system --group test --shell /bin/bash all goes well, I can login fine, but ....
1
vote
1answer
766 views

Script for creating users on new servers

So I am in this situation where we have started adding a bunch of new servers because we are getting new clients, therefore, we need new servers for each new client we get, and with that follows the ...
0
votes
2answers
1k views

trying to add user to sudoers group gives me error

im adding one user to the sudoers file and when i enter the command sudo adduser <username> sudo, shows error <username> is not on the sudoers file. this incident will be reported. Any ...
0
votes
0answers
148 views

SOLVED: su with new user automatically fails without asking for a password

I'm on Ubuntu 16.04.5. I've created a user called test_user and when I try the command su test_user I get the output user@user:~$ su test_user su: Authentication failure user@user:~$ Without ...
-1
votes
1answer
765 views

Automating user creation with information from text file

I have one txt in this format: dfs /home/dfs ashik karki so now i need a bash script for reading the each word from the text file and what i am going to do is i want to automate adduser and generate ...
0
votes
0answers
52 views

User Concept of Ubuntu

A question to user account of Ubuntu 16.04. I am newby to Ubuntu/Linux OS. I hosted a server and was logged in with ssh (putty client side) and the default root account with all permissions. I created ...
0
votes
1answer
234 views

User creation remote logging

I am trying to centralize logs from different server to one server. I can centralize logging information via adding auth.* @server_ip:port in /etc/rsyslog.conf from the clients, but now I don't ...
9
votes
1answer
2k views

Why is the username still displayed even when it's been deleted using 'userdel' [duplicate]

I added a user with the adduser command and then deleted it withuserdel, but the username is still displayed in the home directory and in the switch account section. Why does this happen? How do I ...
1
vote
2answers
774 views

How much disk space is assigned to a new user in ubuntu?

If I create a new user test1 using the adduser/useradd command, how much space does Ubuntu assign to the test1 user? What happens when I have 10 users on my system? Do all of them use the same amount ...
0
votes
1answer
424 views

How to specify home directory with 'adduser' when user creation fails on a machine with NFS home directory and Kerberos authentication

I am using adduser --disabled-password to create a user that uses Kerberos authentication for letting them sign into their account. Therefore, the password is predefined by a central Kerberos database....
2
votes
0answers
266 views

Dell XPS 13 Ubuntu Guest to Administrator [duplicate]

So, I got Dell XPS 13 Developer Edition, 2018. The laptop started fine, and then it entered the guest account. There is no way that I can create an administrator user account. I followed the steps ...
13
votes
2answers
8k views

Difference between adduser and usermod -G -a

What is the difference between adduser user_name group_name and usermod -G -a user_name group_name At first glance they seems to do the same thing : add a user to a group.
0
votes
1answer
2k views

apt upgrade systemd fails, users and groups already exist

If I try to upgrade systemd via apt update && apt upgrade, the systemd portion indicates the users and groups already exist so it exits. edit: this is on 16.04 server Setting up systemd (229-...
4
votes
1answer
202 views

Prevent new users from being added to a group with the same name as user name and instead add to generic group?

I need to add several new users to a system. Each of these users should be a member of the same group - appdev - and should not be assigned to a group that is the same as their user name. Can I do ...
3
votes
1answer
42 views

Where to report mistakes in a translated man page?

I just discovered a mistake in the German version of the man page for adduser: Einen System-Benutzer einrichten Wird adduser ohne die Option --system und mit einem nicht optionalen Argument ...
0
votes
0answers
41 views

Ssh users can acces almost any dirs/files

I'm new to this forum so forgive me if I asked this question in the wrong place, neither could I find a conclusive answer,, So, I have a dedicated Ubuntu 16.04.3 LTS, I have it for a while now, it ...
11
votes
4answers
10k views

programmatically clone /etc/skel for new users

/etc/skel is a folder that will be cloned for new users. Is there a possible way that we can define rules what to copy from /etc/skel folder? For example, I'm looking for a way that if a user is ...
2
votes
4answers
18k views

usermod says account doesn't exist but adduser says it does

I run the command usermod -a -G dialout amashreghi but I get amashreghi doesn't exists, however, when I try to add the user using adduser adduser amashreghi It says that amashreghi already ...
1
vote
1answer
2k views

How to change users home directory?

I want to create new user or change one of the current users home directory from /home/user2 to /media/user1/secondary. I already tried this solution here "How to change the default parent directory ...
0
votes
0answers
181 views

How to require new users to provide their email address when creating their accounts?

I want to create user accounts to new users on our shared computer, but I found the user profile doesn't have the email address field. Can I add the email address field and require new users to fill ...
-2
votes
1answer
91 views

have a problem with error 1 during install [closed]

I tried to create a new user using the CLI command adduser I did not follow the prompt instructions. The command exited with a error value of one. What should I do?
1
vote
0answers
31 views

How to create multiple user logins for each ubuntu system [duplicate]

I have 25 systems of ubuntu and I want to create 60 login id and password for students. And any students can use any system to use system using his/her credentials. How can I achieve this?
0
votes
1answer
9k views

Cannot add a user account with numerical username - useradd: group '11' does not exist

I'm an amateur Kubuntu user, and have much to learn. I am trying to create a user account which are named after numbers. I have sudo privileges and I tried it on the root account as well. Apparently,...
0
votes
1answer
69 views

Creating a user without its account being disabled [duplicate]

Is there a way to create a new standard user, who can log in immediately? When I create users through a shell script, the users do get created, but they are disabled. Is there are way to create them ...
1
vote
0answers
78 views

Kubuntu - newly created user delayed from showing

Using the GUI in Kubuntu, I am creating a new user (we will call it newuser1). I enter the username, and valid password, then hit apply. Nothing happens. I try creating a 2nd new user, thinking ...
1
vote
1answer
732 views

Add a dot to the REGEX

I have tried to add a dot to the current REGEX in the /etc/adduser.conf file on Ubuntu 16.10 but it doesn't seem to save as I cannot add a user that has a username of: mediasvr.adm Current REGEX is: ...
0
votes
0answers
816 views

bash script adding users. setting the username to script argument

I'm trying to create a bash script that creates a new user. I pass the desired username as a argument, but it's not accepting the value. I'm trying to have: root@forgehe:~# bash newuser.sh ...
-1
votes
3answers
5k views

Create another root account with ubuntu

It is indicated that on the manual of adduser we can do : sudo useradd -ou 0 anotherroot Where anotherroot is the name of the new root account. The link of adduser manual : https://linux.die.net/...