Solved

FreeBSD can't 'su'

Posted on 2001-07-04
3
557 Views
Last Modified: 2009-12-16
Hi,
I've been learning FreeBSD by starting with a minimal installation and working my way up to a fully configured badass workstation! But I'm forced to use my root account way too much because when I try to 'su' I get the message "You are not in the correct group to su root". What group do I have to be in?! I've looked over the files /etc/passwd /etc/master.passwd /etc/group and /etc/login.conf and made sure that everything was kosher but I can't seem to figure it out.
I have been reading the UNIX system administration handbook and I haven't found anything relevant in there yet.
Thanks for any help,
Chip
0
Comment
Question by:crash020297
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 1

Expert Comment

by:jlhch
ID: 6253688
I think you should be in the group `wheel'.
0
 

Author Comment

by:crash020297
ID: 6253861
well, ok. I just wasn't sure if that raised some sort of security issue. Will that present some kind of risk?
0
 
LVL 40

Accepted Solution

by:
jlevie earned 100 total points
ID: 6255743
As a security measure FreeBSD requires each user that is to have su privs to be a member of the wheel group. Since you already have the root password there isn't an additional risk imposed by making your account a member of the wheel group and it is a normal and correct thing to do. I believe the intent of restricting su access to members of the wheel group is to prevent folks for trying to guess a password for root by repeated su attempts. It also will prevent the ordinary user from being able to change to some other account, thus improving accoutability. To be able to invoke su, simply edit /etc/group and add your login name to the wheel group, like:

wheel:*:0:root,jlevie
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

724 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question