Questions tagged [adduser]

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

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

Private Shared Folder

Good day, I have a question regarding my private shared folder. I add already a user called 'private' something like this: lhon@lhon-server:~$ sudo adduser private Adding user `private' ... Adding new ...
Lupong Gathana's user avatar
0 votes
0 answers
76 views

ubuntu 22 LTS adduser not copying /etc/skel

I've added users to 4 nodes of a microk8s cluster using useradd user and typing password and hitting enter to all the asked for info... from what I have read this should copy the contents of the /etc/...
William Dossett's user avatar
0 votes
0 answers
105 views

Need GPIO access NOT using Raspberry Pi with 22.04 LTS with proper permissions not sudo

I'm running Ubuntu 22.04 LTS on an industrial computer not RasPi with a complex Python program that requires access to GPIO pins at a location 0x0B20. This works well using sudo and portio.iopl(3) to ...
Bastion Jordan's user avatar
1 vote
1 answer
69 views

How to add an Ubuntu user that is administrator and that has sudo access?

I've installed Ubuntu and enabled the home folder encryption, I was working on it and everything was right, but I've changed my password recently and forgot the old one, so I got the home folder ...
Kaylee's user avatar
  • 63
8 votes
2 answers
672 views

How can I prevent two or more users with different IPs from connecting to my server simultaneously using one username?

One of the methods I use to bypass internet filtering/censorship in my country is SSH tunneling. To do this, I create a user on an Ubuntu 18.04 server using the command adduser USERNAME --shell=/bin/...
Vahid Damanafshan's user avatar
0 votes
1 answer
178 views

Creating a user with root reading access, but only can write its own files

I need to create a user that can read files in system like root user, but can only write like a normal user. How can it be done? Thanks in advance.
james hofer's user avatar
0 votes
2 answers
2k views

Create a temporary users on ubuntu

I want to create a temporary user on ubuntu that gets deleted within a certain period of time. I can extend the deletion time. I can get the value of the remaining time for the user before deletion. ...
Said Dias's user avatar
0 votes
1 answer
345 views

Cannot see the content of my shared folder from my hosted OS ( $USER already in vboxsf and VM already restarted )

I have a Ubuntu OS running inside a VM made on Virtualbox. It's some time that I cannot see anymore the content of my shared folder from my Ubuntu OS. I am loading content into the shared folder form ...
Tms91's user avatar
  • 249
0 votes
2 answers
1k views

adduser fails with error code 1 and then error code 6

I am trying to add a new admin user to a system. I tried via the GUI but it gave error code 1. I went to the terminal and tried: $ sudo adduser <username> sudo adduser: The user <username> ...
SumNeuron's user avatar
  • 163
0 votes
1 answer
839 views

I want to 'undo' adding myself to docker group

I'm using Ubuntu 20.04. I installed Docker from Snap Store. Then i started running the commands as recommended on the page, because i wanted to be able to run it as a normal user.These are the command ...
Olives8072's user avatar
2 votes
1 answer
430 views

Is it possible to make a directory that a user cannot list, but would be able to access files in it?

Is it possible to make a directory that a user cannot list, but would be able to access files in it? Provide examples of when this might be necessary.
Jan Suchodolski's user avatar
0 votes
1 answer
228 views

What are the commands to see and edit the user's information? after to use adduser [duplicate]

I read these tutorials: How to create a user account on Ubuntu Linux How to Add and Delete Users on Ubuntu 18.04 When is used the adduser command appears in the process: Changing the user ...
Manuel Jordan's user avatar
0 votes
1 answer
8k views

Creating a new top level Admin User for Ubuntu on WSL

Swapping standard Ubuntu for win-10 w/ "WSL Ubuntu" For 5 years I booted to Ubuntu Distros with a GUI desktop, however; this year, my professor has forced me to add Windows to my machine. In ...
JΛYDΞV's user avatar
  • 191
0 votes
1 answer
336 views

You can modify user data with chfn (e.g. phone, room) but how can you just display that organisational data?

Edit: @steeldriver provided the answer I believe. I think I found the reason why I did not get the output that I wanted in the first place. When I created the user I entered Full Name, Room Number, ...
user avatar
0 votes
1 answer
5k views

How to switch from root to user in Ubuntu running in Termux?

I recently installed Ubuntu via Termux on my android phone. This version is specified when I enter the username and password. Welcome to Ubuntu 20.04.2 I once went from root to user mode by adduser ...
BullShit's user avatar
1 vote
1 answer
3k views

useradd: cannot open /etc/passwd

I am facing create a new user on my ubuntu 20.04 from GUI as well as terminal. I am getting following error: sahadeb@HP-Elite-Book:~$ sudo adduser user1 Adding user `user1' ... Adding new group `user1'...
sahadeb barman's user avatar
1 vote
1 answer
420 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. ...
Thomas W.'s user avatar
  • 460
0 votes
1 answer
63 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 ...
Back's user avatar
  • 1
0 votes
2 answers
5k 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 ...
Leon's user avatar
  • 107
0 votes
0 answers
271 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 ...
Ken's user avatar
  • 3
2 votes
1 answer
1k 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 ...
Praveen's user avatar
  • 1,015
0 votes
0 answers
225 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 ...
Houman's user avatar
  • 965
1 vote
0 answers
367 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 ...
Mikazuki's user avatar
0 votes
1 answer
2k 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 ...
Carlos Sisek's user avatar
0 votes
0 answers
111 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 ...
Dinesh Thakur's user avatar
1 vote
1 answer
726 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 ...
gep's user avatar
  • 23
0 votes
1 answer
754 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.
MIchal Rudnicki's user avatar
0 votes
1 answer
424 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 ...
Cecilia's user avatar
  • 133
2 votes
1 answer
1k 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?
Newtron Malayalam's user avatar
0 votes
0 answers
457 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} ...
CaptainAhab's user avatar
0 votes
1 answer
386 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 ...
Anthony Kalampogias's user avatar
1 vote
1 answer
89 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 ...
David's user avatar
  • 21
1 vote
0 answers
894 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 ...
WhoCares's user avatar
  • 157
1 vote
0 answers
396 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/...
Charlie Laine's user avatar
3 votes
1 answer
2k 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 ...
Number945's user avatar
  • 167
1 vote
0 answers
68 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? ...
changepicture's user avatar
3 votes
1 answer
10k 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 ....
Adithya's user avatar
  • 33
1 vote
1 answer
2k 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 ...
Yantes's user avatar
  • 51
-1 votes
2 answers
3k 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 ...
Emanuel Rojas Agüero's user avatar
0 votes
0 answers
283 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 ...
nimdok's user avatar
  • 9
-1 votes
1 answer
1k 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 ...
Ashik Karki's user avatar
0 votes
0 answers
70 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 ...
PatternRecognition's user avatar
0 votes
1 answer
675 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 ...
eli0T's user avatar
  • 3
9 votes
1 answer
7k 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 ...
weird_kid_jo's user avatar
1 vote
2 answers
2k 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 ...
N Randhawa's user avatar
0 votes
1 answer
820 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....
benett's user avatar
  • 9
2 votes
0 answers
294 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 ...
MycrofD's user avatar
  • 244
14 votes
2 answers
13k 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.
snoob dogg's user avatar
0 votes
1 answer
3k 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-...
BenK's user avatar
  • 396
5 votes
1 answer
577 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 ...
Frank Dilmore's user avatar