0
votes
1answer
8 views

Ubuntu 12.04 LTS: Changing Mysql root Password

I did an upgrade from 10.04 to 12.04 today. I wanted to access MySQL afterwards, but I've forgot the root password... So I tried some guides from the net but none is working for me. Im not even sure ...
-3
votes
1answer
35 views

How to recover public key password? [closed]

I created a new instance of a server on my VPS provider and when I was doing the initial server setup it prompted me for a password, which I don't remember. Is there anything I can do in this ...
-2
votes
1answer
23 views

EC2 Password expire dont have previous password

Our server guys setup a password expire policy but never set a password for the default user now the password has expired but I am unable to change it as it asks for the current password which we dont ...
1
vote
1answer
78 views

sudo passwd on Ubuntu 11.10 strange behavior. Have I been rooted?

I'm in a really strange situation. A few hours ago Rackspace issued a ticket saying there's a outbound flood originating from my server. Thinking the server might have been rooted with a rootkit I ...
3
votes
2answers
2k views

Lost Linux root password - Recovery mode and init=/bin/bash fail

I lost/forgot the root password to a server sitting beside me and am trying to reset it. I would rather not have to wipe and re-install or use a Live CD (server is running Ubuntu Server 12.04). What ...
2
votes
3answers
758 views

Need scp with www-data without the need for password

I have a DMZ with a web server running Ubuntu 11.04 and an application server running Ubuntu 11.10. I have set things up so that I can scp from the web server to the application server by running ...
0
votes
2answers
168 views

Change user password within user with root account

I'm logged into (ssh) my ubuntu server into a non-root user account. I can not directly ssh into the server as root, because I disabled it. I have the root password. I need to change the user password ...
3
votes
4answers
2k views

Can I change a user password in Linux from the command line with no interactivity?

I have a specific use case where I would really like to be able to change a user's password with a single command with no interactivity. This is being done in a safe fashion (over SSH, and on a system ...
0
votes
1answer
6k views

What's my Ubuntu Server administrator password?

I just installed Ubuntu Server here, which went fine. However, not sure what's going on here now. I installed gnome using sudo aptitude install --without-recommends ubuntu-desktop, which worked ...
1
vote
1answer
106 views

SSH users with ssh keys can't login to Usermin

I'm setting up a fresh Ubuntu netty 11.04 instance on AWS and needed Usermin to allow my "Ubuntu" user account to login. The problem is that the "ubuntu" user uses ssh keys to log into the server. I ...
0
votes
2answers
141 views

Cannot log into mysql after invoking mysql from shell script

(My first question here, so if I am flouting any conventions, I apologize in advance!) This is my first attempt at creating a shell script. I am trying to create new databases and users and passwords ...
3
votes
2answers
574 views

Key authentication not working when using ssh or rsync as sudo

I have ssh RSA key authentication setup between a client and an ubuntu server (following this procedure): -the RSA key authentication for ssh and rsync work fine (no need for password). -the RSA key ...
4
votes
1answer
641 views

Slappasswd output randomized

I was expecting slappasswd to produce a fixed hash but it appears that the output is randomized as I never get the same output for the same input password: $ slappasswd -s secret ...
1
vote
1answer
97 views

creating a new user Ubuntu

I am trying to new user that can sftp on a server....i did this ubuntu@ip-10-112-46-15:~$ sudo useradd jesse -p testPass ubuntu@ip-10-112-46-15:~$ sudo passwd jesse Enter new UNIX password: Retype ...
3
votes
5answers
7k views

How to let users change linux password from web browser?

I'm not sure if this is a stackoverflow question or serverfault but here goes: I have an Ubuntu 10.04 file server (Samba/FTP/HTTP) and I would like to have the ability to give users the ability to ...
14
votes
4answers
10k views

ssh: “Agent admitted failure to sign using the key”

I'm trying to set up password-less login with ssh on Ubuntu Server, but I keep getting: Agent admitted failure to sign using the key and prompt for password. I have generated new rsa keys. Before ...
2
votes
4answers
417 views

sudo like in Ubuntu (for Debian and other Linuxes)

I personally like the default sudo behavior of Ubuntu: - Root login impossible - "admin" group granted "ALL=(ALL) ALL" - users in the "admin" group are asked for their user password (not a root ...
4
votes
4answers
3k views

ubuntu - how can I avoid typing a password on every admin action?

I just set-up ubuntu 9.10 on my computer, and I'm trying to figure out how to avoid typing a password on every action that requires sudo privileges. I just want to type a password once on login and ...
5
votes
2answers
3k views

How do I setup ssh with both private key and password?

How do I setup ssh with both private key and password? In /etc/ssh/sshd_config, I currently have: RSAAuthentication yes PubkeyAuthentication yes PasswordAuthentication yes But apparently this ...
3
votes
3answers
192 views

Find users with unchanged passwords?

I recently added a bunch of users and gave them randomly generated passwords. We've since instructed them to change their passwords, but we suspect that a large number of them have not. How can we ...
2
votes
1answer
382 views

Set password on Ubuntu 9.04

I need to set up a large number of local user accounts on a number of machines running Ubuntu, and I need a way to script the password setting. These machines use /etc/shadow, as is the default in the ...
0
votes
3answers
173 views

Prompt users to reset their passwords in Ubuntu?

I have a bunch of new users to deploy on our system, and as a part of the initial login I want to give them an opportunity to reset their password. How can I best do this so that we don't have to ...
8
votes
4answers
121k views

What's the default username and password for an Ubuntu Live CD?

What's the username and password for an Ubuntu Live CD image? I ask cause I've recently copied the contents of an Ubuntu based live ISO (easypeasy, the ldistro for nwtbooks) onto a harddisk, but the ...