The passwd tag has no wiki summary.
2
votes
3answers
77 views
Login with SSH user that has no password set
I have a user without a password set (i.e. passwd -d).
I would not like to use public keys on this setup.
Is there a way to SSH login to such a user?
1
vote
1answer
49 views
automate su password
I am working on an exploit for a security course. The object is to obtain a root shell in a linux virtual machine. So far, I can write to /etc/passwd and change root's password to an arbitrary string. ...
0
votes
1answer
68 views
Authenticate system users in Trac running nginx or standalone
Is this possible to setup Trac to authenticate system users? For example users that are in trac group will have access to Trac.
Is this possible to user /etc/passwd instead of Apache's .htpasswd?
2
votes
1answer
93 views
If I use SSH with public keys, is it subject to the password expiration of my user account?
So if I'm using SSH with public/private keys to connect to a Unix box, and the password for my user account on that box expires, will I still be able to connect?
0
votes
3answers
814 views
Cannot lock /etc/passwd; try again later
With several commands I get the error "cannot lock /etc/passwd; try again later".
Does anybody know how to solve it? Also I don't get in my /etc/shadow directory.
3
votes
2answers
209 views
How to restore the /etc/passwd file?
I was doing some experiment about resource-accessing. By mistake, I executed this command,
$ sudo mv /etc/passwd /etc/passwd.bak
Then I could not execute any command with privilege(eg. sudo mv ...
1
vote
1answer
770 views
VSFTP configuring virtual user using passwd
I'm trying to configure virtual FTP users along with real users on a server. I installed VSFTP and it works fine. I tried to follow this tutorial: ...
1
vote
1answer
2k views
passwd/shadow or group/gshadow mismatch?
I'm running RHEL 5. When using the GUI System>Administration>Users and Groups, I get the error:
The user database cannot be read. This problem is most likely caused by a mismatch between ...
3
votes
2answers
203 views
Reset user passwd when you don't know it
I have a small problem. I have shared keys setup on my domain, so I never type my password to login anymore.
I've forgotten my password now. This is a problem because only my user can sudo. Password ...
2
votes
2answers
833 views
Linux (redhat) how to change password to previous password
Is there a way to change password to value same as the previous password?
I know this is a security flaw, but would like to know however.
when I try this:
[mrbean@wwwserver ~]$ passwd
Changing ...
1
vote
0answers
150 views
Secure debian by removing system user shells
I'd like to remove shell privileges from some of the system users on Debian, who all get a shell when you upgrade to or install Debian stable. I'd like to know which actually need shells to function. ...
8
votes
1answer
1k views
Random password generator: many, in columns, on command line, in Linux
A while back, I came across a random password generator for the command line that displayed a grid of "memorable" passwords. Output was something like this:
adam@host:~$ CantRememberThisCommand
...
3
votes
3answers
5k views
Trying to change a Ubuntu user's password, authentication token manipulation error
I'm trying to create a local user on a new Ubuntu box. I'm unable to change the password, and I keep getting the error below. The user gets added to the shadow file, but I can't get it to set a ...
2
votes
1answer
1k views
how to add a SMB (samba) password for a user in Debian, when there is no smbpasswd binary?
I have samba installed on a Debian server of mine, and I use libpam-smbpass to keep UNIX and SMB passwords in sync. Passwords are only changed from unix logins via shell at the moment.
However, just ...