Quantcast
Channel: Linux tutorials Archives | Unixmen
Viewing all articles
Browse latest Browse all 1264

How to add su to FreeBSD

$
0
0

How to enable su  in FreeBSD?

This  is my  installed  FreeBSD 9.1

$ uname -aFreeBSD FreBSD-Unixmen 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64$

try  to make  su  to  other  users

$ su - root
su: Sorry

 

Go to sudo ports directory 

# cd /usr/ports/security/sudo
 # make install clean

add  the  user  to   the  wheel group

vi /etc/groups

$ cat /etc/group
# $FreeBSD: release/9.1.0/etc/group 218046 2011-01-28 22:28:12Z pjd $
#
wheel:*:0:root,pirat9

save  and  exit

Try now 

$ su -
Password:
root@FreBSD-Unixmen:/root #

That `s all.

--------------------------------------------------------------------- How to add su to FreeBSD


Viewing all articles
Browse latest Browse all 1264

Latest Images

Trending Articles



Latest Images