passwd Questions
2
Solved
Example of the problem:
docker run -ti -v my_passwd:/etc/passwd -v my_shadow:/etc/shadow --rm centos
[root@681a5489f3b0 /]# useradd test # does not work !?
useradd: failure while writing changes t...
20
Solved
I need to have the ability to create user accounts on my Linux (Fedora 10) and automatically assign a password via a bash script(or otherwise, if need be).
It's easy to create the user via Bash e....
2
Is there a way to determine when an LDAP password is set to expire with ldapsearch? I haven't been able to see anything in man pages that would allow me to get this information.
I see warning mess...
2
I am using Debian. I am learning Bash scripting. I am creating a script that creates new user and sets password the problem is I get passwd: unrecognized option '--stdin' error
That is my script:...
5
Solved
I would like a way to update my password on a remote Ubuntu 10.4 box with fabric.
I would expect my fabfile.py would look something like this:
def update_password(old_pw, new_pw):
# Connects ove...
3
Solved
How can I pipe some input using echo, into program that requires user typing something two times?
for example
echo "somepassword"|passwd someuser
creates this error message
Enter new UNIX pas...
1
Solved
I want to use GIT from within a Docker container. The usage as documented on https://hub.docker.com/r/alpine/git/ is quite simple:
docker run -it --rm -v ${HOME}:/root -v $(pwd):/git alpine/git cl...
Raguelragweed asked 2/1, 2019 at 13:54
2
In my CentOS 7 system (and other Linux flavors), I have noticed that there are two passwd files, /etc/passwd and /usr/bin/passwd. The former contains plaintext information about the users, groups, ...
2
I have create a docker image that allows users to connect on it with SSH.
For security reason, I'd like to users can change their password. I only use docker named volumes, so I can't bind /etc/p...
2
Solved
I recently installed cygwin, and have been unable to find my passwd/etc file in order set to HOME. Is there any way to force cygwin to generate the file?
3
Solved
As part of trying to implement a security measure in my root ssh session, I'm trying to devise a method of starting a script after n seconds of root user login, and change the user password and log...
1
Solved
9
I need to be able to change the users' password through a web page (in a controlled environment).
So, for that, I'm using this code:
<?php
$output = shell_exec("sudo -u dummy passwd testUser te...
Annotation asked 24/9, 2008 at 14:20
3
Solved
I'm trying to password protect a specific url using a .htaccess. Different urls point to the same files but have different workings. I now need to password protect only one url. I'm trying to do th...
Lagomorph asked 9/3, 2011 at 21:21
1
Solved
In addition to the files : /etc/group, /etc/passwd and /etc/shadow, I could see three files in my linux machine.
/etc/group-
/etc/passwd-
/etc/shadow-
I cannot see these files in my root...
Paulie asked 24/10, 2011 at 8:23
1
Solved
If not, how does android determine whether a user belongs to a certain group?
2
Solved
I am working on what I thought was a very simple script to dynamically create an FTP user using 'useradd' There are several parts of this process I am unfamiliar with, and an entire day's research ...
3
I've done some research and I'm still struggling with the passwd structure.
http://www.opengroup.org/onlinepubs/000095399/basedefs/pwd.h.html
I need to obtain the user ID, however, I don't think I'...
2
I'm trying to create a script to update a password in a
non-interactive way. It's working on my laptop but fails on my server.
Both are running the same configuration, using Etch.
This is the scri...
1
© 2022 - 2024 — McMap. All rights reserved.