Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
3answers
145 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?
2
votes
2answers
156 views

How can I automatically pass the password to 'su'?

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
132 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?
3
votes
2answers
258 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
2k 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
296 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
2answers
1k views

VSFTP configuring virtual user using passwd [closed]

Possible Duplicate: Why won't vsftpd let me log in with a virtual user account? I'm trying to configure virtual FTP users along with real users on a server. I installed VSFTP and it ...
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
227 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
1k 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 ...
8
votes
1answer
2k 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 ...
5
votes
3answers
8k 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
2k 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 ...