Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 10-02-2005, 01:28 AM   #1
MadCat
So Fucking Banned
 
Join Date: Aug 2002
Posts: 696
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 ?
MadCat is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-02-2005, 11:24 AM   #2
Hansm
Confirmed User
 
Join Date: Jun 2002
Posts: 871
chmod 777 FILE

/usr/bin/chmod 777 FILE

or is it in /sbin or /bin or /usr, do a locate chmod firsrt.
Hansm is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-02-2005, 01:00 PM   #3
adultguus
Confirmed User
 
Industry Role:
Join Date: Jul 2004
Location: The Netherlands
Posts: 815
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.
adultguus is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-02-2005, 01:20 PM   #4
HorseShit
Too lazy to set a custom title
 
Join Date: Dec 2004
Posts: 17,513
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
HorseShit is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-02-2005, 01:57 PM   #5
Hansm
Confirmed User
 
Join Date: Jun 2002
Posts: 871
1 file or server wide access

big differtns so 777 is best solution for 1 file
Hansm is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-02-2005, 02:27 PM   #6
toddler
Confirmed User
 
Join Date: Jun 2002
Location: austin, tx
Posts: 1,911
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.
toddler is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.