Re: [Resolved] Re: When fogetting assigned login name rather than password

2014-03-18 Thread Andrei POPESCU
On Lu, 17 mar 14, 08:46:08, Richard Owlett wrote: Andrei POPESCU wrote: On Sb, 15 mar 14, 09:08:52, Richard Owlett wrote: Sequence was: Do full install install of Squeeze to sda1. Only non-default was size of install partition. Well, setting a root password is quite a weak

Re: When fogetting assigned login name rather than password (and disabling root login)

2014-03-18 Thread Andrei POPESCU
On Lu, 17 mar 14, 08:43:24, Scott Ferguson wrote: On 17/03/14 04:44, Andrei POPESCU wrote: On Du, 16 mar 14, 01:24:03, Scott Ferguson wrote: In the spirit of investigation I tried testing a few methods of disabling root login (there are likely other methods) AFAIK the installer

Re: When fogetting assigned login name rather than password

2014-03-17 Thread Lisi Reisz
On Sunday 16 March 2014 22:42:17 Brian wrote: On Sun 16 Mar 2014 at 18:50:22 +, Lisi Reisz wrote: On Sunday 16 March 2014 17:52:02 Andrei POPESCU wrote: When you boot in Recovery mode you get a root shell without supplying any password. Is Recovery mode not the same as single

Re: [Resolved] Re: When fogetting assigned login name rather than password

2014-03-17 Thread Richard Owlett
Andrei POPESCU wrote: On Sb, 15 mar 14, 09:08:52, Richard Owlett wrote: Sequence was: Do full install install of Squeeze to sda1. Only non-default was size of install partition. Well, setting a root password is quite a weak default. If you just press enter (leaving the password

Re: When fogetting assigned login name rather than password (and disabling root login)

2014-03-16 Thread Andrei POPESCU
On Du, 16 mar 14, 01:24:03, Scott Ferguson wrote: In the spirit of investigation I tried testing a few methods of disabling root login (there are likely other methods) AFAIK the installer uses 'passswd -l'. Kind regards, Andrei -- http://wiki.debian.org/FAQsFromDebianUser Offtopic

Re: [Resolved] Re: When fogetting assigned login name rather than password

2014-03-16 Thread Andrei POPESCU
On Sb, 15 mar 14, 09:08:52, Richard Owlett wrote: Sequence was: Do full install install of Squeeze to sda1. Only non-default was size of install partition. Well, setting a root password is quite a weak default. If you just press enter (leaving the password blank) you get the sudo

Re: When fogetting assigned login name rather than password

2014-03-16 Thread Andrei POPESCU
On Sb, 15 mar 14, 09:34:22, Richard Owlett wrote: Andrei POPESCU wrote: On Sb, 15 mar 14, 05:45:14, Richard Owlett wrote: If another OS had not been available but I knew the root password, is there some way I could have gained access as root? - Debian installer rescue mode I was

Re: When fogetting assigned login name rather than password

2014-03-16 Thread Lisi Reisz
On Sunday 16 March 2014 17:52:02 Andrei POPESCU wrote: When you boot in Recovery mode you get a root shell without supplying any password. Is Recovery mode not the same as single user? I have always been asked for the root password to log in to single user in Debian. I have just rebooted

Re: When fogetting assigned login name rather than password (and disabling root login)

2014-03-16 Thread Scott Ferguson
On 17/03/14 04:44, Andrei POPESCU wrote: On Du, 16 mar 14, 01:24:03, Scott Ferguson wrote: In the spirit of investigation I tried testing a few methods of disabling root login (there are likely other methods) AFAIK the installer uses 'passswd -l'. Kind regards, Andrei Thanks for the

Re: When fogetting assigned login name rather than password

2014-03-16 Thread Brian
On Sun 16 Mar 2014 at 18:50:22 +, Lisi Reisz wrote: On Sunday 16 March 2014 17:52:02 Andrei POPESCU wrote: When you boot in Recovery mode you get a root shell without supplying any password. Is Recovery mode not the same as single user? It is.

When fogetting assigned login name rather than password

2014-03-15 Thread Richard Owlett
I'm running a series of experiments installing multiple versions of Squeeze on a dedicated machine. The machine is dedicated to experimentation and the lifetime of any install may intentionally be only hours or days. The complete hard drive is wiped at least once a month. I consistently use

Re: When fogetting assigned login name rather than password

2014-03-15 Thread Tom Furie
On Sat, Mar 15, 2014 at 05:45:14AM -0500, Richard Owlett wrote: If another OS had not been available but I knew the root password, is there some way I could have gained access as root? The classic approach to this problem is to pass 'init=/bin/sh' to the kernel. The method for doing so depends

Re: When fogetting assigned login name rather than password

2014-03-15 Thread Scott Ferguson
On 15/03/14 21:45, Richard Owlett wrote: I'm running a series of experiments installing multiple versions of Squeeze on a dedicated machine. The machine is dedicated to experimentation and the lifetime of any install may intentionally be only hours or days. The complete hard drive is wiped

Re: When fogetting assigned login name rather than password

2014-03-15 Thread Ralf Mardorf
On Sat, 2014-03-15 at 05:45 -0500, Richard Owlett wrote: If another OS had not been available but I knew the root password, is there some way I could have gained access as root? If you don't remember the root's password you need to chroot or systemd-nspawn -D. A hint that very often is

Re: When fogetting assigned login name rather than password

2014-03-15 Thread Ralf Mardorf
On Sat, 2014-03-15 at 22:09 +1100, Scott Ferguson wrote: passwd `grep 1000 /etc/passwd | cut -d : -f1` Likely that it's 1000, but it could be another uid ;p. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact

Re: When fogetting assigned login name rather than password

2014-03-15 Thread Tom Furie
On Sat, Mar 15, 2014 at 10:09:33PM +1100, Scott Ferguson wrote: On 15/03/14 21:45, Richard Owlett wrote: If another OS had not been available but I knew the root password, is there some way I could have gained access as root? # passwd `grep 1000 /etc/passwd | cut -d : -f1` That doesn't

Re: When fogetting assigned login name rather than password

2014-03-15 Thread Tom Furie
On Sat, Mar 15, 2014 at 12:22:10PM +0100, Ralf Mardorf wrote: On Sat, 2014-03-15 at 05:45 -0500, Richard Owlett wrote: If another OS had not been available but I knew the root password, is there some way I could have gained access as root? If you remember the root password, than I don't

Re: When fogetting assigned login name rather than password

2014-03-15 Thread Ralf Mardorf
On Sat, 2014-03-15 at 11:29 +, Tom Furie wrote: On Sat, Mar 15, 2014 at 10:09:33PM +1100, Scott Ferguson wrote: On 15/03/14 21:45, Richard Owlett wrote: If another OS had not been available but I knew the root password, is there some way I could have gained access as root? #

Re: When fogetting assigned login name rather than password

2014-03-15 Thread Ralf Mardorf
On Sat, 2014-03-15 at 11:33 +, Tom Furie wrote: On Sat, Mar 15, 2014 at 12:22:10PM +0100, Ralf Mardorf wrote: On Sat, 2014-03-15 at 05:45 -0500, Richard Owlett wrote: If another OS had not been available but I knew the root password, is there some way I could have gained access as

Re: When fogetting assigned login name rather than password

2014-03-15 Thread Lisi Reisz
On Saturday 15 March 2014 11:33:50 Tom Furie wrote: On Sat, Mar 15, 2014 at 12:22:10PM +0100, Ralf Mardorf wrote: On Sat, 2014-03-15 at 05:45 -0500, Richard Owlett wrote: If another OS had not been available but I knew the root password, is there some way I could have gained access as

Re: When fogetting assigned login name rather than password

2014-03-15 Thread Scott Ferguson
On 15/03/14 22:29, Ralf Mardorf wrote: On Sat, 2014-03-15 at 22:09 +1100, Scott Ferguson wrote: passwd `grep 1000 /etc/passwd | cut -d : -f1` Likely that it's 1000, but it could be another uid ;p. Could be, but very unlikely - it's the default first UID, and will be Richard's user

Re: When fogetting assigned login name rather than password

2014-03-15 Thread Scott Ferguson
On 15/03/14 22:29, Tom Furie wrote: On Sat, Mar 15, 2014 at 10:09:33PM +1100, Scott Ferguson wrote: On 15/03/14 21:45, Richard Owlett wrote: If another OS had not been available but I knew the root password, is there some way I could have gained access as root? # passwd `grep 1000

Re: When fogetting assigned login name rather than password

2014-03-15 Thread Ralf Mardorf
On Sat, 2014-03-15 at 12:38 +0100, Ralf Mardorf wrote: On Sat, 2014-03-15 at 11:33 +, Tom Furie wrote: On Sat, Mar 15, 2014 at 12:22:10PM +0100, Ralf Mardorf wrote: On Sat, 2014-03-15 at 05:45 -0500, Richard Owlett wrote: If another OS had not been available but I knew the root

Re: When fogetting assigned login name rather than password

2014-03-15 Thread Scott Ferguson
On 15/03/14 22:43, Lisi Reisz wrote: On Saturday 15 March 2014 11:33:50 Tom Furie wrote: On Sat, Mar 15, 2014 at 12:22:10PM +0100, Ralf Mardorf wrote: On Sat, 2014-03-15 at 05:45 -0500, Richard Owlett wrote: If another OS had not been available but I knew the root password, is there some way

Re: When fogetting assigned login name rather than password

2014-03-15 Thread Scott Ferguson
On 15/03/14 22:33, Tom Furie wrote: On Sat, Mar 15, 2014 at 12:22:10PM +0100, Ralf Mardorf wrote: On Sat, 2014-03-15 at 05:45 -0500, Richard Owlett wrote: If another OS had not been available but I knew the root password, is there some way I could have gained access as root? If you

Re: When fogetting assigned login name rather than password

2014-03-15 Thread Ralf Mardorf
On Sat, 2014-03-15 at 22:53 +1100, Scott Ferguson wrote: On 15/03/14 22:43, Lisi Reisz wrote: On Saturday 15 March 2014 11:33:50 Tom Furie wrote: On Sat, Mar 15, 2014 at 12:22:10PM +0100, Ralf Mardorf wrote: On Sat, 2014-03-15 at 05:45 -0500, Richard Owlett wrote: If another OS had not

Re: When fogetting assigned login name rather than password

2014-03-15 Thread Ralf Mardorf
On Sat, 2014-03-15 at 12:58 +0100, Ralf Mardorf wrote: On Sat, 2014-03-15 at 22:53 +1100, Scott Ferguson wrote: On 15/03/14 22:43, Lisi Reisz wrote: On Saturday 15 March 2014 11:33:50 Tom Furie wrote: On Sat, Mar 15, 2014 at 12:22:10PM +0100, Ralf Mardorf wrote: On Sat, 2014-03-15 at

Re: When fogetting assigned login name rather than password

2014-03-15 Thread Scott Ferguson
On 15/03/14 22:58, Ralf Mardorf wrote: On Sat, 2014-03-15 at 22:53 +1100, Scott Ferguson wrote: On 15/03/14 22:43, Lisi Reisz wrote: On Saturday 15 March 2014 11:33:50 Tom Furie wrote: On Sat, Mar 15, 2014 at 12:22:10PM +0100, Ralf Mardorf wrote: On Sat, 2014-03-15 at 05:45 -0500, Richard

Re: When fogetting assigned login name rather than password

2014-03-15 Thread Ralf Mardorf
On Sat, 2014-03-15 at 23:08 +1100, Scott Ferguson wrote: On 15/03/14 22:58, Ralf Mardorf wrote: On Sat, 2014-03-15 at 22:53 +1100, Scott Ferguson wrote: On 15/03/14 22:43, Lisi Reisz wrote: On Saturday 15 March 2014 11:33:50 Tom Furie wrote: On Sat, Mar 15, 2014 at 12:22:10PM +0100, Ralf

Re: When fogetting assigned login name rather than password

2014-03-15 Thread Tom Furie
On Sat, Mar 15, 2014 at 12:58:59PM +0100, Ralf Mardorf wrote: Tom is smarter than we are, it's likely that his guess is correct. The OP confused the term for I am far from it, and Lisi and Scott have both made excellent points that illustrate that. no root account, but the first user has got

Semi-OT: When fogetting assigned login name rather than password

2014-03-15 Thread Ralf Mardorf
On Sat, 2014-03-15 at 12:21 +, Tom Furie wrote: ctrl-alt-bspace By default it's disabled, not only for Debian :D, only dinos know this shortcut. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Re: When fogetting assigned login name rather than password

2014-03-15 Thread Tom Furie
On Sat, Mar 15, 2014 at 12:21:27PM +, Tom Furie wrote: It does seem much more likely that Scott is correct and root logins are only disabled at the graphical login - as Scott says, that is the default configuration - in which case Richard should be able to ctrl-alt-Fn to a virtual

Re: When fogetting assigned login name rather than password

2014-03-15 Thread Ralf Mardorf
On Sat, 2014-03-15 at 12:38 +, Tom Furie wrote: Without further input from Richard we have no way of knowing for certain what the exact situation is. We have got ;). You are right, Mrs. L, Mr. S and I'm mistaken. You are only mistaken to your self-doubts. Richard has got no root password.

Re: When fogetting assigned login name rather than password

2014-03-15 Thread Tom Furie
On Sat, Mar 15, 2014 at 05:45:14AM -0500, Richard Owlett wrote: The complete hard drive is wiped at least once a month. I consistently use my name as the login on the first install of any series. The login of any subsequent install will be a mnemonic associated associated with the current

Re: When fogetting assigned login name rather than password

2014-03-15 Thread Andrei POPESCU
On Sb, 15 mar 14, 05:45:14, Richard Owlett wrote: If another OS had not been available but I knew the root password, is there some way I could have gained access as root? - Debian installer rescue mode - boot in recovery mode[1] Could you please clarify for us how you know the root password,

[Resolved] Re: When fogetting assigned login name rather than password

2014-03-15 Thread Richard Owlett
Scott Ferguson wrote: On 15/03/14 22:29, Tom Furie wrote: On Sat, Mar 15, 2014 at 10:09:33PM +1100, Scott Ferguson wrote: On 15/03/14 21:45, Richard Owlett wrote: If another OS had not been available but I knew the root password, is there some way I could have gained access as root? #

Re: When fogetting assigned login name rather than password

2014-03-15 Thread Brian
On Sat 15 Mar 2014 at 15:01:26 +0200, Andrei POPESCU wrote: On Sb, 15 mar 14, 05:45:14, Richard Owlett wrote: If another OS had not been available but I knew the root password, is there some way I could have gained access as root? - Debian installer rescue mode - boot in recovery

Re: When fogetting assigned login name rather than password (and disabling root login)

2014-03-15 Thread Scott Ferguson
On 15/03/14 23:38, Tom Furie wrote: On Sat, Mar 15, 2014 at 12:21:27PM +, Tom Furie wrote: It does seem much more likely that Scott is correct and root logins are only disabled at the graphical login - as Scott says, that is the default configuration - in which case Richard should be

Re: When fogetting assigned login name rather than password

2014-03-15 Thread Richard Owlett
Andrei POPESCU wrote: On Sb, 15 mar 14, 05:45:14, Richard Owlett wrote: If another OS had not been available but I knew the root password, is there some way I could have gained access as root? - Debian installer rescue mode I was thinking of that as an instance of having another OS

Re: When fogetting assigned login name rather than password

2014-03-15 Thread Steve Litt of Troubleshooters.Com
On Sat, 15 Mar 2014 11:01:15 + Tom Furie t...@furie.org.uk wrote: On Sat, Mar 15, 2014 at 05:45:14AM -0500, Richard Owlett wrote: If another OS had not been available but I knew the root password, is there some way I could have gained access as root? The classic approach to this

Re: When fogetting assigned login name rather than password

2014-03-15 Thread Steve Litt of Troubleshooters.Com
On Sat, 15 Mar 2014 12:38:48 + Tom Furie t...@furie.org.uk wrote: Having gone back to re-read Richard's original post, he does state that he was bringing up an install without GUI. Which poses the question why not just log in as root to get the user name? unless root logins are disabled,

Re: When fogetting assigned login name rather than password

2014-03-15 Thread Steve Litt of Troubleshooters.Com
On Sat, 15 Mar 2014 09:34:22 -0500 Richard Owlett rowl...@cloud85.net wrote: Andrei POPESCU wrote: [1] not sure how this works with a disabled root account though, in case you chose this during installation. Would a kind list subscriber with such a setup please test and clarify this for

Re: When fogetting assigned login name rather than password

2014-03-15 Thread Ralf Mardorf
On Sat, 2014-03-15 at 15:01 +0200, Andrei POPESCU wrote: We are close to taking bets :) Now you're mistaken, we already were taking bets. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive:

Re: [Resolved] Re: When fogetting assigned login name rather than password

2014-03-15 Thread Ralf Mardorf
On Sat, 2014-03-15 at 09:08 -0500, Richard Owlett wrote: 4. Ralf was correct saying IOW the OP remembers the password for UID 1000, but not the name for UID. :D -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact

Re: When fogetting assigned login name rather than password

2014-03-15 Thread Brian
On Sat 15 Mar 2014 at 11:25:41 -0400, Steve Litt of Troubleshooters.Com wrote: On Sat, 15 Mar 2014 11:01:15 + Tom Furie t...@furie.org.uk wrote: The classic approach to this problem is to pass 'init=/bin/sh' to the kernel. The method for doing so depends on which boot manager you

Re: When fogetting assigned login name rather than password

2014-03-15 Thread Tom Furie
On Sat, Mar 15, 2014 at 11:25:41AM -0400, Steve Litt of Troubleshooters.Com wrote: On Sat, 15 Mar 2014 11:01:15 + Tom Furie t...@furie.org.uk wrote: The classic approach to this problem is to pass 'init=/bin/sh' to the kernel. Do you think this is going to continue working when we

Re: When fogetting assigned login name rather than password

2014-03-15 Thread Ralf Mardorf
On Sat, 2014-03-15 at 17:28 +, Tom Furie wrote: systemd will replace the current init system but will still require a /sbin/init. [rocketmouse@archlinux ~]$ ls -hAl /sbin/init lrwxrwxrwx 1 root root 22 Mar 6 23:22 /sbin/init - ../lib/systemd/systemd My Debian install still does use

Re: [Resolved] Re: When fogetting assigned login name rather than password

2014-03-15 Thread Paul E Condon
On 20140315_090852, Richard Owlett wrote: Scott Ferguson wrote: On 15/03/14 22:29, Tom Furie wrote: On Sat, Mar 15, 2014 at 10:09:33PM +1100, Scott Ferguson wrote: On 15/03/14 21:45, Richard Owlett wrote: If another OS had not been available but I knew the root password, is there some way