From owner-freebsd-questions@FreeBSD.ORG Sat Apr 11 19:23:54 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 46E6EFEB for ; Sat, 11 Apr 2015 19:23:54 +0000 (UTC) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 03932C2F for ; Sat, 11 Apr 2015 19:23:53 +0000 (UTC) Received: from r56.edvax.de (port-92-195-6-207.dynamic.qsc.de [92.195.6.207]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 02E8E24C56; Sat, 11 Apr 2015 21:23:51 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t3BJNpdW002869; Sat, 11 Apr 2015 21:23:51 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 11 Apr 2015 21:23:51 +0200 From: Polytropon To: arnab bhowmick Subject: Re: not working at all Message-Id: <20150411212351.b0a97d3d.freebsd@edvax.de> In-Reply-To: References: Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Apr 2015 19:23:54 -0000 On Sun, 12 Apr 2015 00:47:41 +0530, arnab bhowmick wrote: > $ su root > su: Sorry As explained, you need to be in the "wheel" group to become root. This is an intended security barrier. Allow me to repeat from my previous message: Please note: You have to add your user to the "wheel" group if you want to su to root (just entering "su" will default to root, if no other username is provided; "su -" and "su -l" means the same; see "man su" for details). In order to make this change, switch to a virtual terminal by pressing Ctrl+Alt+PF1 and login as root. Then enter at the root prompt: # pw usermod -G wheel where is your own user name. You can also manually add the name to the "wheel" line in /etc/group by using your favourite editor. When done, logout again (command "exit" or Ctrl+D). Switch back to your X session by pressing Ctrl+Alt+PF9. The change is in effect immediately. * end repeat * You can check if your use is in the right group by executing $ grep /etc/group and it should appear in all required groups. Once you have successfully configured permissions for your user, using "su" will be easy and comfortable. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...