LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-07-2004, 10:38 PM   #1
everydayparadis
LQ Newbie
 
Registered: Jul 2004
Location: Portland, OR
Distribution: Mandrake
Posts: 20

Rep: Reputation: 0
changing user pirvilegs in termnial


how do i changing user privileges in termnial. and change folder privileges.

Last edited by everydayparadis; 07-07-2004 at 11:01 PM.
 
Old 07-07-2004, 10:53 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Can you please elaborate on what you're trying
to achieve? The questions leaves plenty of room
for speculation ...

And there's no such thing as privilegs, it's privileges ...
you could try that spell-check button, 2 buttons right
of the "submit reply" one ...


Cheers,
Tink
 
Old 07-07-2004, 10:57 PM   #3
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
It's actually directly to the right of 'Submit Reply'. It's 2 buttons to the right of 'Submit New Thread'.
 
Old 07-07-2004, 11:05 PM   #4
everydayparadis
LQ Newbie
 
Registered: Jul 2004
Location: Portland, OR
Distribution: Mandrake
Posts: 20

Original Poster
Rep: Reputation: 0
well what i'm trying to do is enable write access to the apache web server www folder for a particular user.
 
Old 07-07-2004, 11:17 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
What are the current permissions on the directory?

ls -l /where/your/www/lives

You could probably create a group webdev, make
that user member of the group and then change
the group-ownership for the relevant directories
and change the permissions

chgrp -R webdev /var/www
find -type f -exec chmod g=rw {} \;
find -type d -exec chmod g=rwx {} \;



Cheers,
Tink
 
Old 07-07-2004, 11:38 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Quote:
Originally posted by scuzzman
It's actually directly to the right of 'Submit Reply'. It's 2 buttons to the right of 'Submit New Thread'. :)
O i c ...
I usually DON'T use the Quick Reply entry field at the bottom of the
page for replies, not enough options :)

In the reply to post or quote dialogs you get
Post reply, Preview reply and Spell-Check :)
buttons ...



Cheers,
Tink
 
Old 07-08-2004, 02:32 AM   #7
everydayparadis
LQ Newbie
 
Registered: Jul 2004
Location: Portland, OR
Distribution: Mandrake
Posts: 20

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by Tinkster

... make that user member of the group and then change ...
how do i do that?
 
Old 07-08-2004, 03:02 AM   #8
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
edit /etc/group
find your new group
If the last thing you see on the line with the
group is a : append a username, if it's a username,
append a , and your username.

man group
for details :)


Cheers,
Tink
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing a User carlosinfl Linux - General 11 11-29-2005 03:25 PM
Changing user permissions XAVeRY Linux - Newbie 2 02-09-2005 10:38 PM
How do you edit text files in termnial? everydayparadis Linux - Newbie 10 07-08-2004 02:57 PM
Changing user group atze Linux - Newbie 12 06-08-2004 09:27 AM
User id (needs changing) podollb Linux - Software 2 05-15-2004 10:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration