Date: Wed, 7 Sep 2011 02:07:37 +0200 From: "Hasse Hansson" <fbsd@thorshammare.org> To: "'Fbsd8'" <fbsd8@a1poweruser.com>, "'Matthew Seaman'" <m.seaman@infracaninophile.co.uk> Cc: Freebsd-questions@freebsd.org Subject: SV: wheel group & mkdir Message-ID: <000001cc6cf2$29dda9e0$7d98fda0$@org> In-Reply-To: <4E66A92C.8030406@a1poweruser.com> References: <4E6640F0.5060902@a1poweruser.com> <4E664F1C.5050702@infracaninophile.co.uk> <4E66A92C.8030406@a1poweruser.com>
next in thread | previous in thread | raw e-mail | index | archive | help
-----Oprindelig meddelelse----- Fra: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] P=E5 vegne af Fbsd8 Sendt: den 7 september 2011 01:14 Til: Matthew Seaman Cc: Freebsd-questions@freebsd.org Emne: Re: wheel group & mkdir Matthew Seaman wrote: > On 06/09/2011 16:49, Fbsd8 wrote: >> I have a user that belongs to the wheel group but when the user tries = to >> issue mkdir command it gets a permission denied error. >> >> How do I fix this? >=20 > Make the directory that contains where your user is trying to create a > new subdirectory writable by group wheel. Either that, or teach your > user to use su(1) or sudo(1) so they can mkdir as root. (Adding users > to group wheel so they are permitted to run su(1) is a BSD-ism, and is > the usual reason for adding anyone to wheel.) >=20 > Cheers, >=20 > Matthew >=20 Matthew Thanks for your reply. I have a user id that is in the wheel group. I=20 su and get prompted for the user id's password after which I get=20 returned to the command line. Running the script with the mkdir command=20 embedded still returns Permission Denied message. I have read the su man = page to no joy. Could you please explain the sequence of events to get=20 su to work. Thanks Hello. If I've got the correct impression of it, to be in the wheel group, able = you to su to root, meaning get root privilieges. BUT you have to know and use the root password. If you have installed the "sudo" port, which is very easy to config, = just by removing some "hash #" marks some common privilieges of the wheel group, = to obtain almost "root power" configurable by you. And also configuarable = is, if you like the group to use their own passwords or none, just belonging = to the wheel group, when issuing the sudo command. According to my humble understanding, just belonging to the wheel group without further configuration, don't get you much more.=20 /Hasse _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000001cc6cf2$29dda9e0$7d98fda0$>