Re: Cron jobs and root account locked on Lenny

2008-07-25 Thread Thilo Six
Alexander Fortin wrote the following on 24.07.2008 23:09 /snip debug hi want to comment on the bugreport be my guest: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=492307 -- bye Thilo key: 0x4A411E09 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble?

Re: Cron jobs and root account locked on Lenny

2008-07-24 Thread Alexander Fortin
On Jul 23, 6:50 pm, Andrei Popescu [EMAIL PROTECTED] wrote: I partially agree with the useless of the feauture, but Debian installer is asking if you want to allow root login or not, so I'm Only in expert mode ;) Uhm... well I always find difficult to define what a (Debian) expert need

Re: Cron jobs and root account locked on Lenny

2008-07-24 Thread Thilo Six
Alexander Fortin wrote the following on 24.07.2008 10:03 /snip Yep, using usermod instead of passwd seems to work fine! So, to report a bug or not to? Which mailing list? http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=389183 Alex HTH -- bye Thilo key: 0x4A411E09 -- To UNSUBSCRIBE,

Re: Cron jobs and root account locked on Lenny

2008-07-24 Thread Andrei Popescu
On Thu,24.Jul.08, 11:06:47, Thilo Six wrote: Alexander Fortin wrote the following on 24.07.2008 10:03 /snip Yep, using usermod instead of passwd seems to work fine! So, to report a bug or not to? Which mailing list? http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=389183

Re: Cron jobs and root account locked on Lenny

2008-07-24 Thread Ansgar Burchardt
Hi, Andrei Popescu [EMAIL PROTECTED] writes: Interesting, the manpage passwd(1) says that 'passwd -l' should also set account expiry to 1, but it doesn't. Either passwd or the manpage is wrong, so I think this should be reported against the package passwd. It sets a value to 1 in my

Re: Cron jobs and root account locked on Lenny

2008-07-24 Thread Thilo Six
Andrei Popescu wrote the following on 24.07.2008 18:28 /snip --- man 1 passwd - -l, --lock Lock the named account. This option disables an account by changing the password to a value which matches no possible encrypted value, and by setting the

Re: Cron jobs and root account locked on Lenny

2008-07-24 Thread Andrei Popescu
On Thu,24.Jul.08, 18:47:20, Thilo Six wrote: well here it does. Tested with both Debian lenny and Ubuntu hardy. Which version do you use? I'm not the OP. Regards, Andrei -- If you can't explain it simply, you don't understand it well enough. (Albert Einstein) signature.asc Description:

Re: Cron jobs and root account locked on Lenny

2008-07-24 Thread Thilo Six
Andrei Popescu wrote the following on 24.07.2008 22:04 well here it does. Tested with both Debian lenny and Ubuntu hardy. Which version do you use? I'm not the OP. Regards, Andrei I think that doesn't matter in this regard. You have said your passwd doesn't behave as mentioned in the

Re: Cron jobs and root account locked on Lenny

2008-07-24 Thread Andrei Popescu
On Thu,24.Jul.08, 22:35:01, Thilo Six wrote: Andrei Popescu wrote the following on 24.07.2008 22:04 well here it does. Tested with both Debian lenny and Ubuntu hardy. Which version do you use? I'm not the OP. Regards, Andrei I think that doesn't matter in this regard. You

Re: Cron jobs and root account locked on Lenny

2008-07-24 Thread Alexander Fortin
On Jul 24, 6:50 pm, Thilo Six [EMAIL PROTECTED] wrote: well here it does. Tested with both Debian lenny and Ubuntu hardy. Which version do you use? If you have a locked account without that expiry and use either of the above just 'lock' that account again and then take a look at /etc/shadow.

Cron jobs and root account locked on Lenny

2008-07-23 Thread Alexander Fortin
A few days ago (due to a broken harddisk) I've installed Lenny from scratch on my laptop. I've copied pretty much every configuration from the old installation (Etch) and everything seems good. Well, everything but a couple of things: first of all, at install time I chose no root login but only a

Re: Cron jobs and root account locked on Lenny

2008-07-23 Thread Andrei Popescu
On Wed,23.Jul.08, 00:11:35, Alexander Fortin wrote: [locked root account troubles] Of course, I could unlock root account, but I thought it was good practice to avoid root login from tty/ssh etc, and I'm pretty sure this configuration was working well under Etch. Could this be considered as

Re: Cron jobs and root account locked on Lenny

2008-07-23 Thread Brian Marshall
On Wed, 23 Jul 2008 13:10:26 +0300 Andrei Popescu [EMAIL PROTECTED] wrote: On Wed,23.Jul.08, 00:11:35, Alexander Fortin wrote: [locked root account troubles] Of course, I could unlock root account, but I thought it was good practice to avoid root login from tty/ssh etc, and I'm pretty

Re: Cron jobs and root account locked on Lenny

2008-07-23 Thread Alexander Fortin
On Jul 23, 2:30 pm, Brian Marshall [EMAIL PROTECTED] wrote: That said, I don't recommend allowing root login over ssh, but than can be disabled with sshd. I partially agree with the useless of the feauture, but Debian installer is asking if you want to allow root login or not, so I'm pretty

Re: Cron jobs and root account locked on Lenny

2008-07-23 Thread Andrei Popescu
On Wed,23.Jul.08, 09:00:22, Alexander Fortin wrote: On Jul 23, 2:30 pm, Brian Marshall [EMAIL PROTECTED] wrote: That said, I don't recommend allowing root login over ssh, but than can be disabled with sshd. I partially agree with the useless of the feauture, but Debian installer is asking

Re: Cron jobs and root account locked on Lenny

2008-07-23 Thread Sven Joachim
On 2008-07-23 18:46 +0200, Andrei Popescu wrote: I'm not an expert, but a quick read through passwd(1) says account expiry should be set to '1', while your 'passwd -S' shows '-1', just like a normal account. How about trying to lock it again? I tried that here, and it did not help.