|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
Installing sudo
At work i often need to change IP of my laptop which is running BSD. So I thought it would be a great idea to install sudo and give users permission to certain commands.
While installing sudo gives me 3 options 1. With LDAP support 2. With all insults 3. Set home env to target users in shell mode Can someone tell me which options should I select. I know sudo is going to work without all these options but if any of these options are going to provide me something extra then I would love to have them. |
|
|||
What about - Set home env to target users in shell mode
|
|
||||
With "set home env" unset (the default), running sudo -s to execute a shell as root, leave the environment set to your normal users' env, including $HOME. Meanning, if you do something like "cd", you go to the normal user's home directory, and not root's.
With "set home env" set, running sudo -s still gets you a root shell, but with root's environment. Similar to logging in as root. IMO, this is the better setup. |
Tags |
sudo |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
installing openbsd | bsdnewbie999 | OpenBSD Installation and Upgrading | 12 | 4th May 2009 11:55 AM |
SUDO Wildcards | jcatrysse | FreeBSD Security | 2 | 30th June 2008 07:18 AM |
installing X11 | hirohitosan | FreeBSD Installation and Upgrading | 3 | 25th June 2008 09:37 AM |
Installing another HD | Johnny2Bad | FreeBSD Installation and Upgrading | 4 | 20th May 2008 05:38 PM |
Installing gnome again | qweasdzxc | FreeBSD Ports and Packages | 2 | 6th May 2008 11:27 AM |