Re: sudo -K/-k ineffective
On 07/30/2010 06:00 PM, Chris Rees wrote: It's by design. There's a timeout that you can set, try man sudo. Chris Chris, That is not by design. sudo -K should remove the timestamp -- sudo -K The -K (sure kill) option is like -k except that it removes the user's time stamp entirely and may not be used in conjunction with a command or other option. This option does not require a password. -- Gurpreet, I am not sure if this is a known bug, I was not able to duplicate this on Freebsd 7.2 running sudo 1.6.9p20 Sorry for top-posting, Android won't let me quote, but K-9 can't yet do threading. On 30 Jul 2010 21:43, megurpreet...@gmail.com wrote: Hi, Upon doing sudosome-command as a normal user (non-root), sudo asks for password only once, subsequent invocations of sudo doesn't ask for password - even though I do sudo -k or sudo -K in between. Although sudo starts asking for password after the time stamp expiry. in other words: % sudo mkdir /newdir sudo asks for password authentication, creates the directory after successful authentication % sudo -k % sudo -K % sudo mkdir /another_new_dir sudo don't ask for password authentication, and creates the directory In sudoers file, NOPASSWD is NOT set. here is my sudeors file: http://pastebin.com/WFnXCLE1 Output of uname -a: FreeBSD foo.bar 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:55:53 UTC 2010 r...@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 Is this known bug? If not, then it might have security implications. Regards, Gurpreet Singh -- Life is not fair. Get used to it. Be nice to nerds. Chances are you'll end up working for one. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD 7.0 reboots on Dell 2950
Proskurin Kirill wrote: Michael Toth wrote: Proskurin Kirill wrote: Hello all. What we have: Dell 2950 with FreeBSD-7.0-p9 on it. It work as mail server(Exim+Dovecot and so on). All latest version from ports. After start a production use - it is start to reboot 3-4 times a day with no reason. We think what it is a hardware problem. We swap RAM - not helps. We swap chassis - not helps. I rebiuld all ports - not helps. (well i notice what it start to be more stable - 1 reboot in 1-2 days) In attach screens of error what i have to catch. Can someone say - what it can be or how to find what may cause this? Hi, Are you by any chance running 'megarc' to check your raid controller ? Hm Port: megarc-1.51 Path: /usr/ports/sysutils/megarc Info: LSI Logic's MegaRAID controlling software Maint: gerrit.be...@gmx.de B-deps: R-deps: WWW:http://www.lsilogic.com/products/megaraid/ Do you think it can work with Dell controller? I know it works w/ the Dell controllers, I have also had issues with it where it randomly made my machines (all Power Edge 2950 running 7.x) core dump ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD 7.0 reboots on Dell 2950
Proskurin Kirill wrote: Michael Toth wrote: Proskurin Kirill wrote: Michael Toth wrote: Proskurin Kirill wrote: Hello all. What we have: Dell 2950 with FreeBSD-7.0-p9 on it. It work as mail server(Exim+Dovecot and so on). All latest version from ports. After start a production use - it is start to reboot 3-4 times a day with no reason. We think what it is a hardware problem. We swap RAM - not helps. We swap chassis - not helps. I rebiuld all ports - not helps. (well i notice what it start to be more stable - 1 reboot in 1-2 days) In attach screens of error what i have to catch. Can someone say - what it can be or how to find what may cause this? Hi, Are you by any chance running 'megarc' to check your raid controller ? Hm Port: megarc-1.51 Path: /usr/ports/sysutils/megarc Info: LSI Logic's MegaRAID controlling software Maint: gerrit.be...@gmx.de B-deps: R-deps: WWW:http://www.lsilogic.com/products/megaraid/ Do you think it can work with Dell controller? I know it works w/ the Dell controllers, I have also had issues with it where it randomly made my machines (all Power Edge 2950 running 7.x) core dump mail# cd /usr/ports/sysutils/megarc mail# make install clean === megarc-1.51 is marked as broken: Running megarc seems to cause memory corruption. *** Error code 1 Stop in /usr/ports/sysutils/megarc. mail# Hm. Do I really need it? :-) No, you do not really need it, it would just allow you to get information from the raid controller (and as I said before this port caused me issues and core dump'd my machines) I was more trying to get at IF you were running this that if may have been the cause of your issues. As someone else has already mentioned you really need to find out if there is a kernel panic or not and going from there. -- -- [ Queldor ] (Warning: This message may cause you to understand something) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: NFE setting manually to 1000baseT and half duplex
Hi, You should be doing # ifconfig nfe0 10.202.77.110 media 1000baseTX--- note the 'X' Gelsema, P (Patrick) - FreeBSD wrote: Hi List, I am using the nfe driver on Freebsd 7.0R and I am unable to change the NIC driver manually to 1000baseT with half-duplex. I believe I am not getting the max out of my network connection and want to see if changing the duplex will help. hulk# ifconfig nfe0 10.202.77.110 media 100baseTX hulk# ifconfig nfe0 nfe0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=8VLAN_MTU ether 00:18:f3:9f:f1:b4 inet6 fe80::218:f3ff:fe9f:f1b4%nfe0 prefixlen 64 scopeid 0x2 inet 10.202.77.113 netmask 0xff00 broadcast 10.202.77.255 inet 10.202.77.114 netmask 0xff00 broadcast 10.202.77.255 inet 10.202.77.76 netmask 0xff00 broadcast 10.202.77.255 inet 192.168.0.10 netmask 0xff00 broadcast 192.168.0.255 inet 192.168.1.10 netmask 0xff00 broadcast 192.168.1.255 inet 10.202.77.110 netmask 0xff00 broadcast 10.255.255.255 media: Ethernet 100baseTX (1000baseTX full-duplex) status: active Why between () the 1000baseTX? Is that the actual speed? The maximum speed? hulk# ifconfig nfe0 10.202.77.110 media 1000baseT ifconfig: SIOCSIFMEDIA (media): Device not configured man nfe says this is possible. hulk# ifconfig nfe0 10.202.77.110 media autoselect hulk# ifconfig nfe0 nfe0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=8VLAN_MTU ether 00:18:f3:9f:f1:b4 inet6 fe80::218:f3ff:fe9f:f1b4%nfe0 prefixlen 64 scopeid 0x2 inet 10.202.77.114 netmask 0xff00 broadcast 10.202.77.255 inet 10.202.77.76 netmask 0xff00 broadcast 10.202.77.255 inet 192.168.0.10 netmask 0xff00 broadcast 192.168.0.255 inet 192.168.1.10 netmask 0xff00 broadcast 192.168.1.255 inet 10.202.77.110 netmask 0xff00 broadcast 10.255.255.255 media: Ethernet autoselect (1000baseTX full-duplex) status: active hulk# ifconfig nfe0 mediaopt half-duplex No errors but cant see if it works. Question is, why cant I just do the following; hulk# ifconfig nfe0 media 1000baseT mediaopt half-duplex pciconf -lv [EMAIL PROTECTED]:0:7:0:class=0x068000 card=0x82341043 chip=0x03ef10de rev=0xa2 hdr=0x00 vendor = 'Nvidia Corp' device = 'MCP61 Ethernet' class = bridge hulk# uname -a FreeBSD hulk.superhero.nl 7.0-RELEASE FreeBSD 7.0-RELEASE #1: Sun Feb 24 14:37:26 CET 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC amd64 hulk# Thanks and regards, Patrick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: massive ports update
Looks like most of them are Bump portrevision due to upgrade of devel/gettext. Joachim Rosenfeld wrote: Why did ~5k ports change in the last 24 hours? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- -- [ Queldor ] (Warning: This message may cause you to understand something) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]