Questions tagged [shadow]

28 questions
25
votes
4 answers

Why is the file permission for /etc/shadow set to 600?

The permissions of /etc/shadow are 600, which means it is not readable for anyone except root. However, as all passwords inside it are not stored in clear text but as hashes (which means it is impossible to compute the original password from the…
9
votes
2 answers

Why can I start a root shell with sudo even with a '! ' in its shadow entry?

$cat /etc/passwd |grep -i root root:x:0:0:root:/root:/bin/bash $sudo cat /etc/shadow |grep -i root root:!:17179:0:99999:7::: In the second field of shadow file, ! means root user cannot login but why can I login to root user by sudo su? Why can't…
Sinoosh
  • 2,101
7
votes
1 answer

Trusting non human users

When looking into /etc/passwd and /etc/shadow I found many non human users. I read a bit about it and know what they do (as a group, though specifically I see many I have no clue about). All of them (excluding root (locked pwd) and my human user…
Jesper
  • 95
4
votes
1 answer

How to Get Rid of the Shadow Above the Launcher Icon

I'm wanting to know how to get rid of the black/gray shadow above the launcher icon and below the panel that stretches across the top of the screen. It's on the the top 6-7 pixels (vertically across the launcher) of just the launcher. Below was the…
4
votes
1 answer

What is the correct way to allow accounts without passwords to chsh?

I hope I have phrased this question correctly, it's a bit of an odd one. I have an Ubuntu 18.04 host with many users on it. All of the users log into their account on the host via SSH public key. All accounts have no password. This means that the…
eil
  • 163
3
votes
1 answer

bring back the shadow of context menu

How do I bring back the shadow of context? There is not outline shadow around context menu in all software I use. (In some software this is very annoying to find difference between background and the context menu)
Alex Jones
  • 8,192
2
votes
0 answers

FCITX Chinese-Black box appears instead of character options

Recently started having problems with the native pinyin input. It was working fine, then this week it stopped showing options for chinese characters. Instead, there is just a much larger black box. I switched between compton and macro as windows…
2
votes
1 answer

Compton: Incorrect shadow display (favourite settings)?

I am experiencing problems with the shadow display of the Compton composite manager. In certain situations, the frame for the shadows exceeds the window it is applied to, leaving a visible border and sort of a transparent box around it. This seems…
Prototype700
  • 1,120
2
votes
0 answers

Authentication token manipulation error after upgrade from 16.04 -> 18.04 -> 20.04

Introduction I recently upgraded the Ubuntu release from 16.04 to 18.04 to 20.04 and after completing the upgrades and fixing outstanding issues with apps that were running on that local development server I noticed the passwd command to change user…
2
votes
1 answer

Is there a way to avoid the heavy _animation_ when switching between windows? It's too slow for me!

Whenever I move my mouse, the window where the mouse is gets the focus. That's the only true way of a good windowing system! Only the default theme takes like 0.5 to 1 second to switch between windows. I can see some animations with the stupid…
Alexis Wilke
  • 2,787
2
votes
0 answers

How to add shadow to the Xfce4 panel using Compiz?

I'm using Xfce4 currently with Compiz, which I installed following my own workflow here. After some changes to my desktop setup, I would like to add a shadow to the Xfce panel, but I've been unsuccessful so far. Compiz is active and I can even…
Prototype700
  • 1,120
1
vote
1 answer

How to use PATH env variable to read /etc/shadow file being regular user

So this was the project that I received and I'm stuck half way. In most Linux distributions (Fedora and Ubuntu included), /bin/sh is actually a symbolic link to /bin/bash. To use zsh, we need to link /bin/sh to /bin/zsh. The following instructions…
1
vote
1 answer

How to change the shadow file manually?

I have a linux system and I create 20 users, after that I made a hash and import that into the shadow file instead of one of them(manually). I do that because of some educational things :) …
Freeman
  • 277
1
vote
1 answer

is my root password encrypted?

Please note, I am new to ubuntu system and need some help. My /etc/passwd and /etc/shadow files have the following details: /etc/passwd: root:x:0:0:Super-User:/:bin/sh /etc/shadow: root:giPrt.M0Q66Yc:1:0:99999:::: I understand that the passwd…
1
vote
1 answer

Password stops working

I have a fairly basic setup where user accounts are distributed from an ansible server, along with passwords taken from /etc/shadow, on Ubuntu 20.04 systems. However, I have a few systems which seem to be having problems. I generally log into them…
1
2