0
votes
0answers
651 views

Is there a single line command to do `su`?

I can do an su with su <username> and it asks for my password. Is there a password parameter for su such that i wont be prompted for a password? e.g. su <username> -p <password>
1
vote
1answer
930 views

Sudo su setting default password automatique [duplicate]

I'm a newbie linux (Ubuntu) user and i have a question to sudo su, I always like use the root in the shell for no annoying privilgies errors :) But the problem is sudo su always ask me for a password ...
0
votes
0answers
237 views

passwd history through PAM not working (and weird 'Authentication token manipulation error' when using passwd)

I'm trying to set my password policy to remember the last two passwords a user chose, and to prevent him or her from re-using those particular passwords. I'm currently running Ubuntu 12.10 through ...
3
votes
2answers
16k views

What is the root password for a live usb stick? [duplicate]

ubuntu@ubuntu:~$ su Password: su: Authentication failure I installed Ubuntu to a USB stick. I didn't set any password any time - why can't I use su?
1
vote
2answers
501 views

Changed account to auto login, now su password does not work

I have one user account on my laptop, and it has the same password as the su password. I changed the user account to an auto login account, and now the user password is not accepted (i.e. ...
1
vote
2answers
3k views

Passwordless su in a Bash script?

I've run into a dilemma while migrating a Hadoop installation from Oracle Enterprise Linux to Ubuntu. The prior developer put the following command into rc.local within OEL: su reporter -c "cd ...
1
vote
1answer
385 views

I can't do “sudo”

Let's describe it from the beginning: I was planning to re-enable the password requirement in LightDM for security reasons. But, since my PC's been sluggish these times, it FC'd the password setup ...