Questions tagged [administration]

Questions about Computer Administration

Filter by
Sorted by
Tagged with
1 vote
0 answers
37 views

What could cause a "user not in passwd" error when using su, ssh connection refusal on a Ubuntu 20.04 Web Server?

Something happened on one of our server running Ubuntu 20.04 that caused a co-worker who was logged in via ssh at the time to get a "user not in passwd" error when they tried to use the su ...
kevincorrigan's user avatar
0 votes
1 answer
5k views

Unable to locate package net-tools [duplicate]

I wanted to install dhcp server. When I typed ifconfig it says,command not found but can be installed with sudo apt install net-tools. Then I did so. Results were Reading package lists... Done ...
Nuwanthi Karunarathne's user avatar
2 votes
3 answers
14k views

How to fix the "Unit docker.service could not be found." error?

How do I simply pull and run hello-world? nicholas@mordor:~$ nicholas@mordor:~$ nicholas@mordor:~$ snap list docker Name Version Rev Tracking Publisher Notes docker 20.10.14 1779 ...
Nicholas Saunders's user avatar
1 vote
2 answers
751 views

Applying netplan with both NetworkManager and networkd

I have the following question: how does sudo netplan apply work when it has several configuration files with different renderers: e.g. I have 2 config files in /etc/netplan: 01-network-manager.yaml # ...
sejego's user avatar
  • 13
0 votes
0 answers
32 views

How do I, if at all, configure a user environment that is not tethered to a physical machine with a Ubuntu image installed

This is the genesis of How do I copy a local home dir to an iscsi mounted home directory I have read, over the last decade, that while Ubuntu is pretty respectable with upgrade in place it is not ...
Walt Corey's user avatar
0 votes
1 answer
126 views

Resources for learning about Ubuntu server administration [closed]

I'm looking for recommendations (either book or online course) for learning about Ubuntu server administration in the context of web application hosting. In particular, it should cover the following ...
geschema's user avatar
  • 111
0 votes
0 answers
520 views

Does Ubuntu server 20.x have default firewall settings?

I am using Ubuntu server 20.04 on my server and today wanted to check what ports are open and found that neither iptables nor ufw are installed. Is there some other firewall installed by default on ...
i9pp0's user avatar
  • 672
19 votes
4 answers
2k views

Seeking an "operator present" indication for a remote system accessed over ssh

An elderly relative uses a Ubuntu 18.04 + LXDE desktop, mostly just for internet browsing and to play a few word games. They rarely shut the PC down...last time I checked, it had been turned on for ...
Organic Marble's user avatar
0 votes
0 answers
49 views

Mount point getting drop and getting back automatically

I have an SMB (v4.7.6-ubuntu) mount point which is used by 2 other machines in the same network (AWS). Sometimes that mount point is getting lost and again automatically coming back. Whenever it is ...
RaMon's user avatar
  • 1
0 votes
1 answer
37 views

Info regarding Disk/Drive partition in Ubuntu

I am just starting to use Ubuntu. I have already installed it in VM.I am general user and not tech expert. So my question is In windows generally there is one disk and then we partition them into ...
user1419604's user avatar
0 votes
1 answer
79 views

How to stop users from accessing the backend source code running on server

I wanted to distribute the server side code (Node.js) to some of my users for hosting purpose, but at the same time I don't want any type of manipulation inside the code. So I have decided to use ...
Aaditya Srivastava's user avatar
5 votes
1 answer
421 views

Logging off users with a countdown message

I want to do some maintenance on a server but in order to do that I need all users to be logged off. But I want to send I message (like shutdown do when you want to shutdown the system) to all the ...
Liwinux's user avatar
  • 53
0 votes
0 answers
3k views

Error 5 - input/output error

I am trying to install Ubuntu (actually Kubuntu, but I've tried Ubuntu as well and it gives the same error) on my AMD Ryzen 5 3500u laptop, which runs windows perfectly. Every time I try to install ...
Aniruddha's user avatar
7 votes
3 answers
5k views

How to configure policies/preferences for Chromium

I'm trying to enforce an URLAllowlist for my local Chromium (Version 89.0.4389.90, Snap) on Ubuntu 20.04.2 LTS. According to Google the policy should be available. The Chromium project discusses the ...
lisa-thehexbit's user avatar
2 votes
1 answer
527 views

Polkit Window doesn't allow user selection, how to pick different admin

I'm running the latest Ubuntu 20.04.1 It seems like polkit(I could be wrong here) isn't working as expected. When a regular, non-admin, user tries to do something that needs admin, they get a dialog ...
9841E30's user avatar
  • 23
4 votes
1 answer
18k views

"An error occurred while extracting files." using Archive Manager

I get this error while extracting files with Archive Manager: An error occurred while extracting files I am using Ubuntu 20.04. How can I solve it?
Amira's user avatar
  • 41
1 vote
1 answer
172 views

Updating Ubuntu 20.04 Server

I am running Ubuntu Server 20.04 on my Emby server. And periodically, I log in via SSH to run "sudo apt update" and "sudo apt upgrade" to keep my OS patched. I also periodically ...
Bob Reed's user avatar
  • 183
4 votes
4 answers
32k views

mariadb-server : Depends: mariadb-server-10.3 (>= 1:10.3.25-0ubuntu0.20.04.1) but it is not going to be installed

Recognizing that this is basically a FAQ: nicholas@mordor:~$ nicholas@mordor:~$ sudo apt --fix-broken install Reading package lists... Done Building dependency tree Reading state information......
Nicholas Saunders's user avatar
0 votes
1 answer
58 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
9 votes
1 answer
8k views

Unattended/headless Ubuntu server with disk encryption - how to set it up?

I'm a long-time Linux user, but I'm not well-versed with the newer developments, esp. wrt Ubuntu and system(d) administration. I have a very old PC that I want to use for a file server, Mercurial repo,...
anrieff's user avatar
  • 191
0 votes
0 answers
427 views

How to generate a JSON report briefly summarizing system hardware?

The initial report sent to Ubuntu describing the system is no likely a summary pulled from lspci, lscpu and similar utilities. This is for bug reporting. Nonetheless, can I generate such a report, ...
Thufir's user avatar
  • 4,451
0 votes
0 answers
21 views

How to configure group settings for docker admin? [duplicate]

Listing docker containers: docker ps -a -q error: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.40/...
Nicholas Saunders's user avatar
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
2 answers
309 views

Systemd interaction with Minecraft server

As you do when you're bored, you set up a Minecraft server for you and your friends. I'm trying to make this constructive so I'm learning systemd. My question is if there is a way to interact with ...
Jack Davies's user avatar
0 votes
1 answer
226 views

Why can't I see the sudoer permissions for another user in Ubuntu 18.04?

I am very used to using sudo -l -U <user> to check another user's sudo capabilities but since version 18.04 I can no longer see this. It always comes back blank. Is there some special setting I ...
hanzo2001's user avatar
  • 211
0 votes
0 answers
642 views

Cron job of new user high CPU usage

I have a fresh (3 weeks) install of Ubuntu server 18.04 LTS and about a week in I created 2 new users. If the cron systemd service is running, something is making my cpu really hurt, cause the load ...
samox's user avatar
  • 1
0 votes
0 answers
166 views

how to make environment variables persist?

For this bash script: #!/bin/sh export AccessToken=678 export AccessTokenSecret=wxy export ApiKey=abc export ApiSecret=123 How can I then ensure that printenv run at a later point in time will show ...
Thufir's user avatar
  • 4,451
2 votes
2 answers
5k views

how to use setenv to set an environment variable?

I've tried a few variations on setenv usage, including: thufir@dur:~/powershell/helloPSTwitterAPI$ thufir@dur:~/powershell/helloPSTwitterAPI$ setenv ApiKey="57647625454354365" Command 'setenv' not ...
Thufir's user avatar
  • 4,451
1 vote
0 answers
140 views

Active Directory with ubuntu compputer

How I open Ubuntu device by a user from active directory after joining this device to the active directory ?
MAAN SHARBAJI's user avatar
2 votes
2 answers
2k views

Is there a way to create a user with username "admin"?

Is there a way to create a user with username admin? When I tried to pick a username admin I got this error/ warning message. The username you entered (admin) is reserved for use by the system. ...
PRATAP's user avatar
  • 22.1k
1 vote
1 answer
2k views

How to open Nautilus as admin in Ubuntu 19.04

We have been cautioned not to use sudo nautilus to open Nautilus as root. Have not been able to download gksu for 19.04. Have also tried to install nautilus-admin to 19.04 without success. Is it ...
C.S.Cameron's user avatar
0 votes
1 answer
941 views

Proper way to run Rider without Missing Templates

I'm using Ubuntu x64 18.04 and Jetbrains Rider IDE 2019.1.3 If i download rider with snap or download & extract tar.gz file; I can run rider with clicking app icon on Ubuntu's launcher / unity. ...
Lost_In_Library's user avatar
-1 votes
2 answers
224 views

Is it possible to update, upgrade and administer Ubuntu via the GUI and never touch a command line?

Hi I use Debian and Fedora and have since 2007. It seems that Ubuntu has marketed and built itself to make Linux easier and more user friendly for daily use. PROBLEM: I am planning to use Linux in ...
somethingSomething's user avatar
0 votes
0 answers
1k views

New restart error? “Authentication is required for rebooting the system while an application is asked to inhibit it.”

Okay, so this is a follow up question to my last one, about my “issue” installing VirtualBox off the Software Center. I did what I was asked to with the Software Center, as it looks like VirtualBox ...
Talia S's user avatar
  • 37
29 votes
2 answers
26k views

How can one restrict the number of CPU cores each user can use?

We have a computer whose CPU has 32 cores and it's going to be used for running programs by a few different users. Is there any way to restrict the number of cores each user can use at any time so ...
Reza's user avatar
  • 1,225
2 votes
1 answer
1k views

What is the best cgmanager alternative for Ubuntu 18.04 LTS?

I was using package cgmanager to automatically manage processes into memory cgroups in Ubuntu 16.04 LTS environment. However, I did a fresh install of Ubuntu 18.04 and package cgmanager is no longer ...
Mikko Rantalainen's user avatar
4 votes
2 answers
12k views

Ubuntu 18.04 ethernet not configuring automatically

I have a laptop with Ubuntu 18.04 Desktop installed. The system is eager to configure and operate WiFi, but I need a wired connection because my adapter is slow compared to the 1000BASE-T Ethernet. ...
crw4096's user avatar
  • 43
3 votes
2 answers
22k views

How do I change the boot partition from one drives partition to a different drives partition?

I have two hard drives each with one primary partition, each with their own Ubuntu 18.04 install sda1 40gb sdb1 512gb The only purpose of sdb1 is to hold compressed backups of sda1 Normally the ...
Jieiku's user avatar
  • 153
1 vote
1 answer
305 views

Install minimal Ubuntu like AWS EC2

Is there any way I can install a minimal version of Ubuntu (GUI-less) so that it would closely resemble the Ubuntu set up you get when you get a standard AWS EC2 system? is there a better choice that ...
John Cogan's user avatar
2 votes
1 answer
2k views

How do I check that my users and groups are correct?

I have many Ubuntu-powered devices around me. As far I know /etc/group, /etc/passwd, /etc/shadow are created during installation, so they do not belong to any package: $ dpkg -S /etc/passwd dpkg-...
N0rbert's user avatar
  • 97.4k
0 votes
1 answer
664 views

Cannot sign in my laptop after sudo admin problem in terminal

Whenever I open the terminal I'm Ubuntu 18.04 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. After that, I can't get into any of my ...
Syafiq Firdaus's user avatar
1 vote
0 answers
2k views

change permission of directory and all its sub-directories/files recursively

I have search around but can't find the correct answer. How do I change the permission of a directory and all its sub-directories/files then also when a user creates a file or directory this must ...
Deez Nutz's user avatar
1 vote
0 answers
101 views

Prevent AD users changing the background in Ubuntu 16.04 with Unity desktop [duplicate]

I run a high school computer science lab with 17 desktops running Ubuntu 16.04 with the standard Unity desktop rather than Gnome. The users log in with Windows Active directory IDs and have standard ...
Simon Baldwin's user avatar
29 votes
7 answers
30k views

Is there a GUI tool for managing systemd on Ubuntu 18.04 (Bionic Beaver)?

Is there a GUI tool for managing systemd on Ubuntu 18.04 (Bionic Beaver)? I want to be able to see the status of services and/or units (and/or whatever else systemd calls them). Ideally, I could also ...
mpb's user avatar
  • 1,297
0 votes
0 answers
40 views

Ubuntu 16.04 and Chrome managment

First of all, I'd like to greet everyone, it's my first post on this forum. I got two questions about Chrome browser in Ubuntu 16.04 (Xenial Xerus). I need to find out how to manage it from Terminal ...
idziasz's user avatar
0 votes
1 answer
866 views

share virtualbox os with multiple ubuntu users

i have an ubuntu install with user account of myself and my brother sister father. recently install windowsxp on virtualbox on myside. how can i let my other users (brother sister etc ) to have access ...
kaushik's user avatar
  • 41
0 votes
0 answers
27 views

Share one of the main linux directories on server for all network clients

I'm trying to setup a network that I share /usr folder on my server and use it for all my clients so I don't need to update my /usr/lib for all clients every time and just updating server for all the ...
Ebrahim Karimi's user avatar
1 vote
1 answer
159 views

leafnode fetchnews: received bogus greeting (498)

How do I run some sort of diagnostic to check the connection to an upstream leafnode NNTP server running on the same network? thufir@arrakis:~$ thufir@arrakis:~$ telnet 192.168.1.7 119 Trying 192....
Thufir's user avatar
  • 4,451
1 vote
2 answers
2k views

How to centrally administer Ubuntu servers [duplicate]

I'm curious as to whether there is a convenient way to push updates to multiple Ubuntu servers from a central location instead of remoting into each one individually and manually updating them. Bonus ...
vonarstonehelm's user avatar
0 votes
1 answer
226 views

System Adminstration

I have lots of instructions for various things that tell me to choose the Administration function from my System menu. It doesn't exist. What should I do?
silversurfer.wf's user avatar

1
2 3 4 5