Mycket tack! Laddar upp bums.
// Mvh Ola On Thu, Mar 01, 2007 at 08:34:31PM +0100, Tomas Fasth wrote: > Package: dpsyco-ssh > Version: 1.0.29 > > Hej Ola :) > > Each time I run update-dpsyco an error is reported like this: > sync: invalid option -- c > > The reason is that user 'sync' have a login program that does not > accept a 'c' option. I propose to fix this by only execute login > programs listed in /etc/shells, see suggested patch below. Please > consider to apply before next upload. > > Tomas Fasth > > --- /usr/sbin/update-dpsyco-users-sshaccess-dist 2005-04-18 > 04:48:17.000000000 +0000 > +++ /usr/sbin/update-dpsyco-users-sshaccess 2007-03-01 > 19:00:43.887604500 +0000 > @@ -36,6 +36,7 @@ > && [ "$user" != "+" ] \ > && [ "$uid" != "" ] \ > && [ $uid -le $LAST_UID ] \ > + && grep -q \^$shell\$ /etc/shells \ > && su $user -c "test -w $home" \ > && find "$USERSRC"/*/"$user" -printf "" 2>/dev/null > then > > -- --------------------- Ola Lundqvist --------------------------- / [EMAIL PROTECTED] Annebergsslingan 37 \ | [EMAIL PROTECTED] 654 65 KARLSTAD | | +46 (0)54-10 14 30 +46 (0)70-332 1551 | | http://opalsys.net/ UIN/icq: 4912500 | \ gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9 / --------------------------------------------------------------- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]