GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Need FreeBSD help: how to set up users permissions ? (https://gfy.com/showthread.php?t=523153)

MadCat 10-02-2005 01:28 AM

Need FreeBSD help: how to set up users permissions ?
 
I have root access, and need to set up all possible permissions for a user (want to give him total control)

Whats the command ?

Hansm 10-02-2005 11:24 AM

chmod 777 FILE

/usr/bin/chmod 777 FILE

or is it in /sbin or /bin or /usr, do a locate chmod firsrt.

adultguus 10-02-2005 01:00 PM

Quote:

Originally Posted by MadCat
I have root access, and need to set up all possible permissions for a user (want to give him total control)

Whats the command ?

Why would you want to do that? Just add him to the wheel group so he can login as root.

HorseShit 10-02-2005 01:20 PM

Quote:

Originally Posted by adultguus
Why would you want to do that? Just add him to the wheel group so he can login as root.

well, that would be the sane thing to do :1orglaugh

Hansm 10-02-2005 01:57 PM

1 file or server wide access

big differtns so 777 is best solution for 1 file

toddler 10-02-2005 02:27 PM

jesus. look, install sudo so at least you have a log of what this user does. You should only have to login as root in case of emergency. Everything else, you should really be using sudo. You can specify what commands a user can run with sudo in the /etc/sudoers file.

run commands such as :

sudo /etc/init.d/httpd start

it will prompt for your login pw, and run the command as root. And it will LOG to /var/log/messages||syslog||sudo.log. So if your user fucks something up, you can look at the log and see what he does. Without process accounting or the like, you'll never know, as command histories are easy to overwrite with mutliple sessions.


All times are GMT -7. The time now is 04:33 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123