PamUsb Problem

silver.bullet at zoho.com silver.bullet at zoho.com
Sat Aug 22 11:45:11 UTC 2015


On Sat, 22 Aug 2015 12:22:27 +0100, Grizzly wrote:
>mkdir saveme,  mount sda5 saveme, chroot saveme, passwd [name]

>>However, you always could systemd-nspawn or chroot into your install
>
>can that be done without the password, or did you mean from a live USB?

That's the way you already explained above. If the live media's init
should be systemd, you could use  systemd-nspawn -D saveme/  instead of
chroot.

I don't think that after 3 wrong attempts anything gets locked.

This is the sudoers diff between my Arch and my Ubntu install.

[rocketmouse at archlinux ~]$ sudo
diff /etc/sudoers /mnt/moonstudio/etc/sudoers | grep -v "#"
1,87c1,28
< 
< 
< 
< 
< Defaults insults
< 
< root ALL=(ALL) ALL
< rocketmouse ALL=(ALL) ALL
< 
< 
< 
< 
---
> Defaults	env_reset
> Defaults	mail_badpass
> Defaults
> secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
> 
> 
> 
> 
> root	ALL=(ALL:ALL) ALL
> 
> %admin ALL=(ALL) ALL
> 
> %sudo	ALL=(ALL:ALL) ALL
> 
89,90d29



On my Arch install nothing gets locked and I suspect it's the same for
my Ubuntu install:

[rocketmouse at archlinux ~]$ sudo -i
[sudo] password for rocketmouse: 
Just what do you think you're doing Dave?
[sudo] password for rocketmouse: 
Sorry about this, I know it's a bit silly.
[sudo] password for rocketmouse: 
sudo: 3 incorrect password attempts
[rocketmouse at archlinux ~]$ sudo -i
[sudo] password for rocketmouse: 
There must be cure for it!
[sudo] password for rocketmouse: 
Ying Tong Iddle I Po
[sudo] password for rocketmouse: 
[root at archlinux ~]# logout
[rocketmouse at archlinux ~]$ su
Password: 
su: Authentication failure
[rocketmouse at archlinux ~]$ su
Password: 
su: Authentication failure
[rocketmouse at archlinux ~]$ su
Password: 
su: Authentication failure
[rocketmouse at archlinux ~]$ su
Password: 
[root at archlinux rocketmouse]# exit
[rocketmouse at archlinux ~]$







More information about the ubuntu-users mailing list