|
List Info
Thread: su: not running setuid
|
|
| Re: Is it difficult to move from Linux? |
  South Africa |
2007-10-23 07:11:57 |
Switch .. switch now and you will love it.
i just spent 3 days trying to get unixODBC working on
linux... . I got
it to work in about 10 min on Freebsd. Freebsd rules... its
a slight bit
different but it rules.
You will never go back once you port something.....
On Tue, 2007-10-23 at 14:07 +0000, Mayank Jain wrote:
> 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,
>
_______________________________________________
freebsd-questions freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe freebsd.org"
|
|
| Re: Is it difficult to move from Linux? |

|
2007-10-23 08:01:41 |
> > 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?
And you can say that with FreeBSD you get a stable system as
Debian
GNU/Linux is _and_ you get a source based system as Gentoo
GNU/Linux.
_______________________________________________
freebsd-questions freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe freebsd.org"
|
|
| Re: Is it difficult to move from Linux? |
  Germany |
2007-10-23 09:26:33 |
On Mon, 22 Oct 2007 19:33:57 +0100
"Donovan R. Palmer" <donovan dmpnet.org> wrote:
> 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?
Here are the highlights from a sysadmin point of view:
* FreeBSD = Kernel + Userland. All built from source
/usr/src.
You update the base system by synchronizing that source
tree
(with csup(1)), compiling it into /usr/obj and installing
that
with a couple of make(1) commands. See /usr/src/UPDATING.
* Third party apps (including Xorg etc...) are easiest
compiled and installed via /usr/ports into /usr/local.
There's a clear separation between FreeBSD's own Userland
and those third party apps: that's why you have e.g.
/usr/local/bin/bash (a port app) vs. /bin/sh (a FreeBSD
userland app). You update your ports by synchronizing
/usr/ports (with csup(1) or portsnap(1)) and recursively
rebuilding out-of-date or depending ports with tools like
portupgrade, portmaster etc... See /usr/ports/UPDATING.
* You configure FreeBSD and third party apps' daemons
(which
have startup scripts in /etc/rc.d and /usr/local/etc/rc.d
respectively) by setting configuration variables in
/etc/rc.conf.
Default settings for FreeBSD's confvariables can be found
in
/etc/defaults/rc.conf; you just override them in
/etc/rc.conf.
The variables you need to add to /etc/rc.conf for ports
are
displayed when installing a port, but can also be found at
the
beginning of the /usr/local/etc/rc.d/* startup scripts.
* FreeBSD's compiler is currently gcc + binutils, so you'll
immediately feel at home.
Gentoo has been largely inspired by FreeBSD and uses a
similar
compile-everything-from-source approach; though gentoo is
IMHO
less comfortable installing the first time and maintaining.
Just remember that FreeBSD doesn't run the Linux kernel,
doesn't
use glibc etc...: it's a completely different code base. But
for
95% of all third-party software, its APIs are POSIX-ish
enough.
Last but not least: don't forget to ask on
freebsd-questions
and other mailing lists. Community support is excellent:
that
alone would be worth switching. ;)
-cpghost.
--
Cordula's Web. http://www.cordula.ws/
_______________________________________________
freebsd-questions freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe freebsd.org"
|
|
| Re: Is it difficult to move from Linux? |
  United States |
2007-10-23 10:00:33 |
I switched after using linux for several years because
things are more
consistent in FreeBSD. These days, I still use linux for
some things,
but it often feels like things are slightly weird and
kludgy.
Which, in all honesty, they are. Linux is one of the
greatest projects
ever, creating different bits and pieces and putting them
together. But
sometimes, I just want things to work simply.
On Tue, 2007-10-23 at 14:11 +0200, Robby Balona wrote:
> Switch .. switch now and you will love it.
>
> i just spent 3 days trying to get unixODBC working on
linux... . I got
> it to work in about 10 min on Freebsd. Freebsd rules...
its a slight bit
> different but it rules.
>
> You will never go back once you port something.....
>
> On Tue, 2007-10-23 at 14:07 +0000, Mayank Jain wrote:
> > 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,
> >
>
> _______________________________________________
> freebsd-questions freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
> To unsubscribe, send any mail to
"freebsd-questions-unsubscribe freebsd.org"
_______________________________________________
freebsd-questions freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe freebsd.org"
|
|
| Re: Is it difficult to move from Linux? |
  United States |
2007-10-23 12:25:19 |
Donovan R. Palmer wrote:
> Hi,
> could you tell me how hard it is to
> make the shift from Linux?
<troll warning>
http://www.
daemonology.net/depenguinator/
</warning>
:-D
More sincerely, welcome to FreeBSD! Set your mail
filters, subscribe to the lists, grab your handbook,
phasers on stun... Happy computing!
Kevin Kinsey
--
No excellent soul is exempt from a mixture of madness.
-- Aristotle
_______________________________________________
freebsd-questions freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe freebsd.org"
|
|
| Re: Is it difficult to move from Linux? |

|
2007-10-23 12:51:13 |
On Tue, Oct 23, 2007 at 03:01:41PM +0200, Gueven Bay wrote:
> > > 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?
>
> And you can say that with FreeBSD you get a stable
system as Debian
> GNU/Linux is _and_ you get a source based system as
Gentoo GNU/Linux.
In my experience, it's both more stable and more up to date
than Debian.
Before FreeBSD, my primary OS choice was Debian, but
ultimately
everything I liked about Debian was even better with
FreeBSD.
--
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org
]
MacUser, Nov. 1990: "There comes a time in the history
of any project when
it becomes necessary to shoot the engineers and begin
production."
_______________________________________________
freebsd-questions freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe freebsd.org"
|
|
| Re: Is it difficult to move from Linux? |

|
2007-10-23 12:56:25 |
The difficulty for my moving the last of my Linux boxes,
is...iscsi support.
God how I wish I could map luns, boot from luns, and share
lun love with my
other freebsd boxes.
Im starting on another venture, that I -want- on FreeBSD,
but likely will
not be able to, because I cant use iscsi on it. (And wont
on Fbsd until its
been out for a while and proven stable).
But other than that, my move was painless, I -hate-
installing RH.
On 10/23/07, Chad Perrin <perrin apotheon.com> wrote:
>
> On Tue, Oct 23, 2007 at 03:01:41PM +0200, Gueven Bay
wrote:
> > > > 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?
> >
> > And you can say that with FreeBSD you get a stable
system as Debian
> > GNU/Linux is _and_ you get a source based system
as Gentoo GNU/Linux.
>
> In my experience, it's both more stable and more up to
date than Debian.
> Before FreeBSD, my primary OS choice was Debian, but
ultimately
> everything I liked about Debian was even better with
FreeBSD.
>
> --
> CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org
]
> MacUser, Nov. 1990: "There comes a time in the
history of any project when
> it becomes necessary to shoot the engineers and begin
production."
> _______________________________________________
> freebsd-questions freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe freebsd.org"
>
_______________________________________________
freebsd-questions freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe freebsd.org"
|
|
| Re: Is it difficult to move from Linux? |
  United States |
2007-10-23 13:55:41 |
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?
>
> T.I.A.
> _______________________________________________
> freebsd-questions freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe freebsd.org"
>
Read the FreeBSD handbook.
I found out that FreeBSD was much easier to follow (Files
and Such )
than Linux about 9 years ago and have rarely looked back.
Unless of
course when a client has Linux on a server or whatever. If
you have run
Linux than you can easily note the file names that are
different in
FreeBSD. You'll see that many are the same.
Enjoy!
~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740
+ http://hawaiidakine.com +
http://freebsdinfo.org
+ noc hdk5.net +
+ http://internetohana.org
- Supporting - FreeBSD 6.* - 7.* +
"All that's really worth doing is what we do for
others."- Lewis Carrol
_______________________________________________
freebsd-questions freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe freebsd.org"
|
|
| Re: su: not running setuid |
  United Kingdom |
2007-10-23 15:09:04 |
Christopher Cowart wrote:
> 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.
What about going to single user mode and editing /etc/passwd
so the
"root" line has the username "uname"? Or
add user "uname" with UID 0?
Regards,
Adam J Richardson
_______________________________________________
freebsd-questions freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe freebsd.org"
|
|
| Re: su: not running setuid |
  United States |
2007-10-23 16:47:09 |
On Tue, Oct 23, 2007 at 09:09:04PM +0100, Adam J Richardson
wrote:
> Christopher Cowart wrote:
>> 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.
>
> What about going to single user mode and editing
/etc/passwd so the "root"
> line has the username "uname"? Or add user
"uname" with UID 0?
The chown command would have looked up "uname" via
libnss and used the
numeric UID to alter the filesystem entries. The most you
could do here
is change the symbolic name for the "uname" user
and make the ls -l
output look different. Either way, you're stuck with the
files on the
filesystem not being owned by UID 0. I would highly
recommend not
mucking with /etc/passwd and letting rebuild world fix
things.
--
Chris Cowart
Lead Systems Administrator
Network & Infrastructure Services, RSSP-IT
UC Berkeley
|
|
|
|