Questions tagged [accounts]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
3answers
71 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
1answer
53 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 ...
0
votes
0answers
29 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
1answer
187 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 /...
0
votes
0answers
23 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
0answers
17 views

Where does Chef store credentials for Active Directory user accounts on Linux hosts?

From a security perspective, I'm looking into how Active Directory user accounts, for which folders are created in /home, are integrated into the Linux host. I would expect the account names of these ...
0
votes
1answer
32 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
2answers
102 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?
1
vote
0answers
48 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
0answers
30 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
1answer
2k 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
1answer
476 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....
3
votes
2answers
1k 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 ...
3
votes
1answer
468 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 ...
0
votes
0answers
36 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 ...
0
votes
3answers
503 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 ...
2
votes
1answer
14k 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
-1
votes
3answers
69 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
1answer
1k 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 ...
-2
votes
4answers
321 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
2answers
143 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
2answers
484 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
1answer
51 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 ...
1
vote
2answers
64 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
2answers
97 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
1answer
777 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/...
4
votes
1answer
675 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 ...
1
vote
1answer
4k 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
2answers
303 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 ...
1
vote
0answers
281 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 ...
0
votes
1answer
170 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
1answer
182 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 ...
2
votes
2answers
851 views

How do I display the owner, groups and permissions for a user in bash?

Is there a specific command that will display the owner, group, and permissions for a user or will I need to run more than one command? I just created the user "guest" in the /home/ directory and ...
0
votes
1answer
2k views

What is the Solaris equivalent of chage -d?

I have been looking through the Solaris man pages: usermod, passwd and haven't had much luck. I'm trying to find the equivalent of chage -d that we have used on Linux in the past. This let's you set ...
1
vote
1answer
931 views

reset $SHELL to it's default value [duplicate]

I read the answers on those questions (this && this), neither of them work for me! % uname --operating-system --kernel-name --kernel-version --kernel-release Linux 4.9.6-200.fc25.x86_64 #1 ...
1
vote
1answer
7k views

Sudo access to another user's account

what will be the most efficient way for multiple users (around 15) to be able to sudo to another user's account to run privileged commands? so to make it clear, I have a main user called mainaccount ...
0
votes
1answer
516 views

Get users from a group

I want to get the users of a group separately for each existing group in /etc/group I have the following script: #! /bin/bash while IFS=: read user pass uid users do echo -e "$full :\n\ Pseudo :...
2
votes
2answers
212 views

How do I find out who added a user?

Assuming that someone used sudo to add a user, is there an easy way to determine who it was?
2
votes
1answer
72 views

Disable accounts and print info message on attempted login

Other people log into my Raspberry Pi via SSH. It runs Ubuntu Mate 16.04 with OpenSSH. I want to disable some of the accounts but not delete them. Now, I could just delete the passwords (which ...
0
votes
1answer
433 views

How to generate shadow file for specifically Linux

Can i generate shadow file for linux system whith known password? Why I need this? These file copy in my initramfs system(when kernel build) and when i boot it on my odroid board it ask login and ...
1
vote
1answer
58 views

Recover user database from home directory UID's

I asked a question previously about recovering a RAID 1 partition where the UUID's of the member partitions had all been zeroed. Having received no response in that thread, I'm now forced to reinstall ...
2
votes
2answers
3k views

Why can't `su` be used to switch to users with empty password?

Create a new account called test: $ sudo useradd test test doesn't have a password right now. So $ su test doesn't work. If you try, you're asked for test's password. It doesn't have one. That's ...
18
votes
4answers
61k views

What is the difference between user and service account?

I would like to know difference between user and service account. I know that e.g. Jenkins installed to ubuntu is not a user, but service account. What is use of service account? When we need them? ...
-1
votes
2answers
78 views

Do I have to type su everytime? [closed]

I have created a user. useradd -M -d /usr/my_user my_user chown -R my_user. /usr/my_user Now as a root I can type su - my_user -c /usr/my_user/some_dir/script.sh But if I want to do more ...
1
vote
1answer
456 views

Create Unix user that can read,write, execute in /opt/

I am setting up my cloud server and want to create a Appliance user on my Linux server that can install, read and write content on /opt/ folder and few normal personal users that have only read access ...
0
votes
1answer
585 views

How do I grant read access to all home directories of members in a group?

So I have 4 users on my redhat system. *P- primary group S- supplementary/secondary group* UserA - P: Teacher S: USA UserB - P: Teacher S: School UserX - P: Student S: School UserY - p: ...
0
votes
3answers
9k views

How to add users from data in a text file

I have a question about creating multiple users in linux, but I need a program to work on it. There is a new users txt file, the content is following: adams:5000:Adams, John Couch:/bin/bash atiyah:...
3
votes
1answer
139 views

Force login through ssh only

I have a small problem. I have two accounts on a PC. One is used for "normal" operations, usually through the graphical interface, the other is only used for remote management (upload files through ...
3
votes
1answer
375 views

How does chsh prevent users from changing another user's shell?

I know chsh is used to change a user's login shell by modifying /etc/passwd. So, in principle anyone could run this command and change another user's default shell but that is not allowed. How is ...
2
votes
4answers
5k views

Edit /etc/passwd file from grub

I tried installing zsh on ubuntu ( 14.04). When I switched to zsh, I was unable to go into super user mode. If I do a su it asks for passwd and on entering the correct password, it says: Cannot ...