Questions tagged [accounts]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
35 views

What is the best way to manage multiple access using same user?

Scenario: We have a couple of Ubuntu servers, each with a single user. The user account has some specific software that bind to the host IP address and a specific port (we cannot change the port ...
0 votes
1 answer
33 views

Can I let users create an account on their own?

I teach a programming course with over 40 students. I want them to upload their projects to a Linux web server that I rent. So I want each student to create a user account on the server. I do not want ...
0 votes
0 answers
63 views

Unable to create a new Gmail profile (account) in Mozilla Thunderbird

Received error message: Signing in at server is not possible. Probably incorrect configuration, user name or password Creating the mail profile with following features (automatically configured by ...
0 votes
0 answers
85 views

Ubuntu does not remember my microsoft account

My computer (Ubuntu 22.04.1 LTS), does not remember my business Microsoft account and I need to Login and 2FA each time. Is there a way to remember my Microsoft account?
0 votes
1 answer
17 views

Best practice for multiple Node applications on one server

I've read that it is the best practive to create seperate system accounts for each application, so in case of a security breach the attacker is isolated inside the specific account and cannot do any ...
2 votes
0 answers
693 views

rsync: opendir failed: Permission denied (13) from a Synology DSM7 server with synoacl

I have rsyncd running as SynoRsyncd sharing the /volume1 module : [user@rsyncServer ~] $ ps -O user:20 -C rsync PID USER S TTY TIME COMMAND 14290 SynoRsyncd S ? ...
  • 1,789
0 votes
0 answers
184 views

echo $USER returns root, even under non-root user

My main user account (sebastian) ended up seriously crippled and I wanted to create a new user to look for differences, but: When logged in to tty as a new non-root user (e.g. guest), echo $USER ...
  • 123
10 votes
6 answers
3k views

Completely lock user account on server, including ssh

I need to lock some user accounts, without messing with their HOME, if at all possible. Normal way would be usermod -L user but it seems to leave open ssh login with public key authentication (...
  • 790
0 votes
1 answer
83 views

Offline setting account expiration

I need to set up an account inactivity expiration date (es. 1 year). As shown in some tutorials, a way of doing so is to use the usermod command. Due to some constraints, I need to do so offline, ...
  • 373
1 vote
0 answers
329 views

PAM guru help to interpret system-auth password-auth RHEL 7

I have a RHEL 7.9 system which currently has identical system-auth and password-auth files located under /etc/pam.d/. That file is auth required pam_faillock.so preauth audit deny=3 ...
  • 5,235
1 vote
0 answers
302 views

passwd -S Alternate authentication scheme in use

in RHEL 7.9, I do passwd -S on all accounts in /etc/passwd as part of checking user accounts. # passwd -S <account name> root PS 1969-12-30 0 99999 7 -1 (Password set, SHA512 crypt.) bin LK ...
  • 5,235
0 votes
1 answer
3k views

What can a id_rsa.pub file be used for?

What can the id_rsa.pub file be used for? I am working in machine A. I need to have an account in machine B. Another user from my team asked me for my id_rsa.pub (from machine A I suppose) so that he ...
0 votes
1 answer
130 views

Why is changing password on user account is taking time?

I have created a few accounts on my Linux Mint installation. A few of them have admin privileges. About 30 min ago I changed the password on one of the admin accounts using the Users Settings GUI. But ...
0 votes
0 answers
234 views

Get the lock status of an account on Solaris

I do not have root privileges. I wish to get the lock status of a given account say mwss I'm on Sun Solaris uname -a SunOS myhost 5.11 11.4.27.82.1 sun4v sparc sun4v Below is the output from shadow ...
  • 417
0 votes
1 answer
473 views

sudo to another user, but unable to start X applications

This is on Ubuntu 20.04.1, in case it makes any difference. I open a terminal, sudo to another user, then try to run chromium and get the output pasted below. Every search I've done turns up ...
  • 11
3 votes
0 answers
310 views

CPU time accounting: report cumulative total CPU time

There are about 15 users on a computation server running jobs via SSH, Jupyter, or the web version of RStudio. Every user has a standard Linux user account, each process is owned by the user also if ...
  • 269
-2 votes
1 answer
58 views

Logging SSH commands on Linux - is custom kernel the only way?

I've done some research and it looks like that the way linux keeps history is less about security and audit and more about helping the user. Even after making changes to instantly log the command and ...
  • 1,712
1 vote
0 answers
25 views

Backing up UNIX(Linux)-account data

I am experimenting with (main)UNIX users and groups configuration on my system (how many, which names they have, passwords, etc.) in Linux. Would it be possible to create a simple backup of the ...
  • 119
0 votes
0 answers
35 views

Prevent deb installation from creating new accounts

We are configuring a variety of servers programmatically, and we periodically need to be able to migrate volumes from one server to another. After migrating a volume, we are currently executing chown ...
  • 101
0 votes
3 answers
341 views

Separate /home partitions for different users

I have a debian system with separate /root and /home partitions. I already have some user accounts in /home partition. I need another user account in that system. The problem is that I would like to ...
-2 votes
1 answer
1k views

Why can usermod not modify newly created user? "User does not exist"

Please see the commands I have run trying to modify a user that was just created. # useradd temp # usermod -R /home/temp temp usermod: user 'temp' does not exist The above is odd, so I did a few ...
1 vote
2 answers
1k views

How to get a user's account picture in Linux?

How can I get a user's login image or avatar or 'dp' in Linux? A lot of similar questions on SO provide answer for Windows,not for Linux. [Im on Debian 10, GNOME DE, but prefer a general solution if ...
3 votes
1 answer
1k views

When I create an account from command line, I cannot login to the account using the login command

I want to create some accounts on a macOS system that don't have a home directory or an icon on the login page sudo dscl . -create /Users/hiddenuser sudo dscl . -create /Users/hiddenuser UserShell /...
user avatar
0 votes
0 answers
137 views

Remotely changing the password on Ubuntu system accounts

I've recently set up an SFTP server for a number of people and their projects. For security reasons, people were given system accounts so they have no SSH access (we don't want them to accidentally ...
0 votes
1 answer
63 views

Unix/Linux backup account that does not update LAST ACCESS files metadata

I'm actually wondering if on Unix/Linux systems, there is a equivalent of "Backup Operators" on Windows. On Windows, being member of this group allows to open files without updating their LAST ACCESS ...
0 votes
2 answers
1k views

What does the L returned from passwd --status mean

I was checking my password status and noticed that instead of NP or P there was a L returned so i checked the man pages and found it was a locked password could someone explain what this is to me?
  • 11
1 vote
0 answers
73 views

I cannot delete files on IRIX 6.2

I started using IRIX 6.2 so I could do some Nintendo 64 Development for the IRIX community. WARNING: IT IS A VERY WEIRD SITUATION! Also, I am using root. The file manager GUI states that the files ...
1 vote
0 answers
142 views

Debian 9 does not load login screen

My HP laptop fails to load the login screen after saying [FAILED] Failed to start Accounts Service There's an error concerning the partition of a disk that keeps showing up. BTRFS critical (...
1 vote
1 answer
6k views

SSH connection "This account is currently not available"

I tried to connect at a SSH server in 3 different ways, but nothing works: using putty - after I enter my password the putty window automatically closed, and in the log file there is: "This account ...
2 votes
1 answer
1k views

lightdm does not show users which have no shadow password

I have switched my virtual machine, to use a ldap server for authentication with sssd. I assumed with this setup I will not need to use local passwords anymore, as i can login with ldap authentication....
  • 1,030
3 votes
2 answers
2k views

BASH: calculate number of days to account expiration

Objective: Output from Linux username, passwordlastchanged, passwordexpires in human readable format. I pulled user info from /etc/passwd and /etc/shadow for users with shell /bin/bash join -1 1 -2 ...
  • 487
3 votes
1 answer
3k views

How to keep password aging but disable password "inactive"?

I am using Red Hat Enterprise Linux 7.5 and have instances deployed in AWS. By default accounts are set to go "inactive" after 60 days also, which means an admin will have to unlock the account. I ...
  • 177
0 votes
0 answers
39 views

Where, outside of $HOME if anywhere, might account specific configs be found?

I have a most bamboozling problem. I had a Mint 18 machine with Eclipse Neon. All worked fine. I upgraded to Mint 19 and Eclipse Photon. Suddenly Eclipse is unusable. The exact issue is ...
-1 votes
3 answers
2k views

How to create a user account from a text file input

Need to create a bash script to create a username from a file which contains below (username home directory full name) drs /home/drs Paranas Theruwalan My script: !#/bin/bash #call data from file ...
5 votes
2 answers
51k views

reset failed login count / unlock aix/UNIX account

As system administrator it is necessary to lock / unlock users or to reset failed login count. let's look how we can perform lock / unlock users or to reset on UNIX/AIX
user avatar
-1 votes
3 answers
178 views

Locking user account in a specific way

I've been tasked with performing a lockdown on a user account (making it impossible to properly login-in to) in a very specific way. Im prohibited from: a) Altering his password (so passwd -l is out ...
2 votes
1 answer
3k views

Difference between usermod -L & passwd -l

From man passwd -l, --lock This option is used to lock the password of specified account and it is available to root only. The locking is performed by rendering the ...
  • 7,182
-1 votes
4 answers
1k views

How can I remove hundreds of users generated by a script?

I had previously created a bash script that created over 100 users using output from a password generator as usernames. So far, the closest solution I have come across is creating a list of users to ...
0 votes
2 answers
203 views

Is there a reliable way to make several user accounts behave as root, except sudo?

I and a friend are administrating a fair number of virtual machines, each one dedicated to some task in the overall system. When we need to administrate them, we typically log in as root, since the ...
2 votes
2 answers
1k views

Are there any gotchas with granting a user root privileges by making them UID=0 GID=0?

I and a friend are administrating a number of virtual machines, each one dedicated to some task in the overall system. When we need to administrate them, we typically log in as root, since the only ...
0 votes
1 answer
319 views

Is there a way to set each user with its own language?

I use a fresh Mageia 6 with gnome-shell and 64bit. I have two accounts (or users), is there a way to set each account with its own language for example my account is in English and the other account ...
  • 111
1 vote
2 answers
944 views

How can I make it so that all new users created in the future will have a specific file copied? [duplicate]

I have a file (a document or text file to be precise) that I would like to be copied for every new user I create in the future. Is this possible? For example If I were to create a new user "test", my ...
0 votes
2 answers
137 views

1 User. 2 Acounts, 2 Passwords

As someone who hates passwords with a passion, why do I have to create 1 password that never gets used and gives no more capabilities than my user password? I find I end up using sudo often. (Mostly ...
0 votes
1 answer
2k views

Cannot write after granting rwx permissions to group using an ACL

I have a user bob and he is a member of the group developers. I want all developers to be able to read, write and execute on the directory /home/testing and all sub-directories. The directory /home/...
  • 193
4 votes
1 answer
2k views

Best practice for managing access on a shared account?

Our company has a web server for dev and each of our developers has a user account on it. The server also has an account for the user 'app'. The user 'app' does not belong to a single person --- it's ...
  • 193
2 votes
1 answer
10k views

New user cannot create files in its home directory

I created a new user golden in linux by running adduser command. After that I am trying to generate ssh keys for that new user and every time I am getting permission denied error: golden@machineA:~$ ...
2 votes
2 answers
630 views

How are daemons run with a user account with an invalid shell?

I've been Googling all over trying to find an answer to this, and trying to mentally parse initialization scripts to find where it's done, to no avail. I just did a ps and pulled a random example. I ...
  • 465
1 vote
0 answers
668 views

Disable samba home directories

I've been asked to determine the absolute minimum attributes for Samba accounts on AIX. For instance, setting the local account shell to /bin/false in order to prevent shell access. That's feasible. I ...
  • 1,238
0 votes
2 answers
943 views

How to set UIDs and GIDs during install of Debian?

During installation of Debian the default initial UID is 1000 and GID is 1000. When creating a user account during install, is there a way to specify their specific values, for example 3197?
2 votes
1 answer
238 views

expire all the new and manually reset passwords

I need to expire all the new and manually reset passwords in a server. When a new user logs into the server the first time it should force him to change the password. My first guess is that I have to ...