|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
I have a server and I need to add a new user who will have telnet access to ONLY 1 or 2 MYSQL databases and not the others.
He also will have FTP access as well. I don't want to give him my username and password for obvious security reasons. I was told that a new user can be set up with special permissions, but I don't know exactly how to do it. I am running the following: FreeBSD (latest version) MySQL (latest version) Apache (latest version) Please let me know how to make a special setup for this user. Regards, |
|
#2
|
|||
|
|||
|
Just RTFM via man 8 adduser. Then he should be able to telnet/ftp immediately. For MySQL, you need to add another user (him).
You keep saying special permissions in your duplicated posts (in other forums), how special exactly? |
|
#3
|
||||
|
||||
|
For the MySQL side - from the manual:
Quote:
See here: http://www.mysql.com/doc/A/d/Adding_users.html cf: http://www.mysql.com/udmsearch/sear...?q=add+new+user To only allow a user, monty, access to the db called 'montydb' just do: Code:
mysql> GRANT ALL PRIVILEGES ON montydb.* TO monty@localhost /
IDENTIFIED BY 'some_pass' WITH GRANT OPTION;
__________________
FreeBSD Admin Tips Tricks and Scripts |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > BSD Help > Special permissions for user |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|