Re: cvsup:Release not specified for collection

2008-04-28 Thread Mayank Jain Nawal


Hi,

Use the following supfile.




#supfile 

*default host=cvsup1.FreeBSD.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=.
*default delete use-rel-suffix

ports-all



Don't use both of the options like host as well as default host comment out 
one from both of the option. 

Regards
Mayank Jain Nawal



Hi,

I am trying to update my ports collection for the first time on a
FreeBSD4.8 i386 machine. I've edited the example file. I'm getting the
error:

Release not specified for collection host=cvsup1freebsd.org  

Here is my ports-supfile:

# $FreeBSD: src/share/examples/cvsup/ports-supfile,v 1.19.2.8 2002/12/15
15:47:22 lioux Exp $
host=cvsup1freebsd.org
base=/usr
prefix=/usr
*default host=cvsup1.FreeBSD.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=.
*default delete use-rel-suffix
 
ports-all

Do I have this file setup correctly?

TIA,

Tim
tim at cxq5.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: su: not running setuid

2007-10-23 Thread Mayank Jain
Hi,
No I am not able to login as root from other consoles also. 
I am able to ssh on this machine from other machines and is able to 
successfully login to this machine but from my console I am now even not able 
to login to this machine. It is not accepting my uname and passwd. Looks like 
I ma stuck at a big trouble.  
-- 
Regards
Mayank Jain(Nawal)
Niksun
9818390836
www.mayankjain.110mb.com 

On Monday 22 October 2007 19:28, Eric Crist wrote:
 If you executed the command you claim you did, you're system
 permissions are really screwed up.  You've changed ownership of
 *EVERY* file on the system to uname:wheel.  My best guess is that su
 is trying to run as uname (setuid) and it's not getting the
 permissions is needs.

 4th and long I'm guessing.  You're best of to punt and reinstall.
 Can you even log in as root from the console?

 Eric

 On Oct 22, 2007, at 1:51 PMOct 22, 2007, Mayank Jain wrote:
  Hi all,
 
  I have run chown -R uname:wheel . as root in the / directory. Now
  it is not
  allowing me to log in as su.
  Giving the following error
 
  su
  su: not running setuid
 
  I have also tried su -l but still same error. Can any body suggest
  me some
  solution to this problem.
 
  uname -a
  FreeBSD mayankjain.in.niksun.com 6.2-RC1-p1 FreeBSD 6.2-RC1-p1 #0:
  Mon Dec  4
  09:56:16 UTC 2006
  [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP  i386
 
  I have also tried following but it didn't allow me to do so.
  chown  root:wheel /usr/bin/su
  chown: /usr/bin/su: Operation not permitted
 
  --
  Regards
  Mayank Jain(Nawal)
  Niksun
  9818390836
  www.mayankjain.110mb.com
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to freebsd-questions-
  [EMAIL PROTECTED]

 -
 Eric F Crist
 Secure Computing Networks


 ___
 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: su: not running setuid

2007-10-23 Thread Mayank Jain
Hi,

Thanks a lot!!!
The fix you provided worked for me, I am able to switch from normal user to su 
but this I am able to do with the help of ssh login only. I am not able to 
login from my console. When I am trying to login from my console it is not 
accepting my username and password not even of root. Giving an error message 
of Login Incorrect. Below are the log messages which I am getting. 

Oct 23 09:35:39 deepak kernel: Trying to mount root from ufs:/dev/ad0s4a
Oct 23 09:35:57 deepak sm-mta[682]: NOQUEUE: SYSERR(root): opendaemonsocket: 
daemon Daemon0: cannot bind: Can't assign reque
sted address
Oct 23 09:35:57 deepak sm-mta[682]: daemon Daemon0: problem creating SMTP 
socket
Oct 23 09:36:02 deepak sm-mta[682]: NOQUEUE: SYSERR(root): opendaemonsocket: 
daemon Daemon0: cannot bind: Can't assign reque
sted address
Oct 23 09:36:02 deepak sm-mta[682]: daemon Daemon0: problem creating SMTP 
socket
Oct 23 09:36:08 deepak sm-mta[682]: NOQUEUE: SYSERR(root): opendaemonsocket: 
daemon Daemon0: cannot bind: Can't assign reque
sted address
Oct 23 09:36:08 deepak sm-mta[682]: daemon Daemon0: problem creating SMTP 
socket
Oct 23 09:36:13 deepak sm-mta[682]: NOQUEUE: SYSERR(root): opendaemonsocket: 
daemon Daemon0: cannot bind: Can't assign reque
sted address
Oct 23 09:36:13 deepak sm-mta[682]: daemon Daemon0: problem creating SMTP 
socket
Oct 23 09:36:18 deepak sm-mta[682]: NOQUEUE: SYSERR(root): opendaemonsocket: 
daemon Daemon0: cannot bind: Can't assign reque
sted address
Oct 23 09:36:18 deepak sm-mta[682]: daemon Daemon0: problem creating SMTP 
socket
Oct 23 09:36:19 deepak login: 2 LOGIN FAILURES ON ttyv0
Oct 23 09:36:23 deepak sm-mta[682]: NOQUEUE: SYSERR(root): opendaemonsocket: 
daemon Daemon0: cannot bind: Can't assign reque
sted address
Oct 23 09:36:23 deepak sm-mta[682]: daemon Daemon0: problem creating SMTP 
socket
Oct 23 09:36:28 deepak sm-mta[682]: NOQUEUE: SYSERR(root): opendaemonsocket: 
daemon Daemon0: cannot bind: Can't assign reque
sted address
Oct 23 09:36:28 deepak sm-mta[682]: daemon Daemon0: problem creating SMTP 
socket
Oct 23 09:36:33 deepak sm-mta[682]: NOQUEUE: SYSERR(root): opendaemonsocket: 
daemon Daemon0: cannot bind: Can't assign reque
sted address
Oct 23 09:36:33 deepak sm-mta[682]: daemon Daemon0: problem creating SMTP 
socket
Oct 23 09:36:39 deepak sm-mta[682]: NOQUEUE: SYSERR(root): opendaemonsocket: 
daemon Daemon0: cannot bind: Can't assign reque
sted address
Oct 23 09:36:39 deepak sm-mta[682]: daemon Daemon0: problem creating SMTP 
socket
Oct 23 09:36:44 deepak sm-mta[682]: NOQUEUE: SYSERR(root): opendaemonsocket: 
daemon Daemon0: cannot bind: Can't assign reque
sted address
Oct 23 09:36:44 deepak sm-mta[682]: daemon Daemon0: problem creating SMTP 
socket
Oct 23 09:36:49 deepak sm-mta[682]: NOQUEUE: SYSERR(root): opendaemonsocket: 
daemon Daemon0: cannot bind: Can't assign reque
sted address
Oct 23 09:36:49 deepak sm-mta[682]: daemon Daemon0: problem creating SMTP 
socket
Oct 23 09:36:49 deepak sm-mta[682]: NOQUEUE: SYSERR(root): opendaemonsocket: 
daemon Daemon0: server SMTP socket wedged: exit
ing
Oct 23 09:37:23 deepak su: deepak to root on /dev/ttyp0

Hope you will telll me some quick solution. 


-- 
Regards
Mayank Jain(Nawal)
+91-9818390836
www.mayankjain.110mb.com

On Monday 22 October 2007 20:21, Christopher Cowart wrote:
 On Mon, Oct 22, 2007 at 06:51:48PM +, Mayank Jain wrote:
  Hi all,
 
  I have run chown -R uname:wheel . as root in the / directory. Now it is
  not allowing me to log in as su.
  Giving the following error
 
  su
  su: not running setuid
 
  I have also tried su -l but still same error. Can any body suggest me
  some solution to this problem.
 
  uname -a
  FreeBSD mayankjain.in.niksun.com 6.2-RC1-p1 FreeBSD 6.2-RC1-p1 #0: Mon
  Dec  4 09:56:16 UTC 2006
  [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP  i386
 
  I have also tried following but it didn't allow me to do so.
  chown  root:wheel /usr/bin/su
  chown: /usr/bin/su: Operation not permitted

 Unless you can find some local privilege escalation exploit, I'm
 thinking you're stuck. You can probably fix it in single-user mode:
 * Reboot
 * Pick single user mode from the boot menu
 * Accept the default shell
 $ fsck -p
 $ mount -u /
 $ mount -a -t ufs
 $ chown root /usr/bin/su

 But if the command above ran to completion, you probably have a mess of
 permissions on your filesystem. You may want to look into rebuilding /
 reinstalling world while you're in single.

 Good luck...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Is it difficult to move from Linux?

2007-10-23 Thread Mayank Jain
Hi
Using freeBSD is more fun. Installing packages and all that is very easy. The 
things you can do in LINUX you can surely do with FreeBSD. Collection of 
large number of ports and the flexibility to modify anything the way you want 
make it cool. Really after installing FreeBSD I had never swithched back to 
LINUX.
Hope you will also enjoy working on it. 

On Tuesday 23 October 2007 03:53, Byung-Hee HWANG wrote:
 Donovan,

 On Mon, 2007-10-22 at 19:33 +0100, Donovan R. Palmer wrote:
  Hi,
 
  I have been using Linux for over 10 years, but have for a number of
  reasons become very interested in learning to use FreeBSD. Are there any
  ex or current Linux users here and could you tell me how hard it is to
  make the shift from Linux?  Is there anything in particular which has
  been written which would be useful to read?

 Just my story.. I moved to FreeBSD from Linux five years ago. Shell is
 only thing I felt difficult. But now I am using tcsh instead of bash.
 Aside from that, everything is OK ;;

 Sincerely,

-- 
Regards
Mayank Jain(Nawal)
http://mayankjain.110mb.com/
+91-9818390836
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


su: not running setuid

2007-10-22 Thread Mayank Jain
Hi all,

I have run chown -R uname:wheel . as root in the / directory. Now it is not 
allowing me to log in as su.
Giving the following error

su
su: not running setuid

I have also tried su -l but still same error. Can any body suggest me some 
solution to this problem.

uname -a
FreeBSD mayankjain.in.niksun.com 6.2-RC1-p1 FreeBSD 6.2-RC1-p1 #0: Mon Dec  4 
09:56:16 UTC 2006 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP  i386

I have also tried following but it didn't allow me to do so.
chown  root:wheel /usr/bin/su
chown: /usr/bin/su: Operation not permitted

-- 
Regards
Mayank Jain(Nawal)
Niksun
9818390836
www.mayankjain.110mb.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]