LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Closed Thread
  Search this Thread
Old 10-28-2009, 03:09 AM   #1
srk.
LQ Newbie
 
Registered: Oct 2009
Posts: 4

Rep: Reputation: 0
I'm going to spam you with my many homework questions;


The group is www(basic apache user/group) which doesnot have any home directory.
The users in that group should be able to change the file permissions of the files owned by that group www.

i.e users shd be able to chmod the files having ownership www.www

Mod edit: See further down for where this post actually goes -- it duplicated after I merged these threads/posts.

Last edited by GrapefruiTgirl; 10-28-2009 at 01:16 PM.
 
Old 10-28-2009, 06:16 AM   #2
shanugulati
LQ Newbie
 
Registered: Oct 2009
Posts: 13

Rep: Reputation: 0
I'm going to spam you with my many homework questions;

Q: How to Install Redhat using default settings from command line?

Q: How to Set the date and time of the system using command line?

Q: How to verify an IP address is not being used, in the range 192.168.9._ using command line?

Q: How to Set that as the IP address of the system, with subnet mask 255.255.255.0 and gateway as 192.168.9.1 by editing the file /etc/sysconfig/network-scripts/ifcfg-eth0;1)

Q: How to create a user from the command line?

Q: How can i create a group with its GID?

Q: How can i add an user to any group?

Hi Joe,
Thanks for your reply.

Isn't there any linux inbuilt command line utility to perform this task?

Quote:
Originally Posted by indiajoe View Post
Hi,
A: Use nmap.
You can scan all IP ranges. It is a very powerfull tool. You can use it for almost all network monitoring.
Cheers
-indiajoe
Q: How to change the group for any specific directory?

Q: How to make any user a administrator of the system?

Q: How can I make directories to group the files created above in a logical order, and move them into the respective directories?

Q: Can any tell me please what command it would I should write for following process:
Logon as root, and make a directory called backup in the home directory in and use a command to copy all files in /etc/sysconfig ensuring that the permissions and ownership are preserved

Q: How can I Set lines to automatically wrap with 10 characters of the edge of the vim screen

Last edited by GrapefruiTgirl; 10-28-2009 at 08:35 AM. Reason: Homework speed-spam.
 
Old 10-28-2009, 06:21 AM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Per the LQ Rules, please do not post homework assignments verbatim. We're happy to assist if you have specific questions or have hit a stumbling point, however. Let us know what you've already tried and what references you have used (including class notes, books, and Google searches) and we'll do our best to help. Also, keep in mind that your instructor might also be an LQ member.
 
Old 10-28-2009, 06:21 AM   #4
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
by using
http://www.google.com
 
Old 10-28-2009, 06:21 AM   #5
indiajoe
Member
 
Registered: Jan 2009
Location: India
Distribution: Porteus atma
Posts: 84

Rep: Reputation: 21
Use nmap

Hi,
Use nmap.
You can scan all IP ranges. It is a very powerfull tool. You can use it for almost all network monitoring.
Cheers
-indiajoe
 
Old 10-28-2009, 06:22 AM   #6
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
by using
http://www.google.com
 
Old 10-28-2009, 06:22 AM   #7
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Per the LQ Rules, please do not post homework assignments verbatim. We're happy to assist if you have specific questions or have hit a stumbling point, however. Let us know what you've already tried and what references you have used (including class notes, books, and Google searches) and we'll do our best to help. Also, keep in mind that your instructor might also be an LQ member.

Please stop this barrage of homework questions immediately.
 
Old 10-28-2009, 06:25 AM   #8
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Please stop this barrage of homework questions immediately.
 
Old 10-28-2009, 06:26 AM   #9
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Stop this NOW
 
Old 10-28-2009, 06:31 AM   #10
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Rep: Reputation: Disabled
To copy the files and directories keeping the permissions you can use --preserve option with cp command.
 
Old 10-28-2009, 06:32 AM   #11
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Per the LQ Rules, please do not post homework assignments verbatim. We're happy to assist if you have specific questions or have hit a stumbling point, however. Let us know what you've already tried and what references you have used (including class notes, books, and Google searches) and we'll do our best to help. Also, keep in mind that your instructor might also be an LQ member.

Since you appeared to ignore my request to stop this, I have given you a "time out". LQ is not a place where you can simply drop off your assignment sheets from school. If you have any questions, please contact me or any moderator.
 
Old 10-28-2009, 07:11 AM   #12
indiajoe
Member
 
Registered: Jan 2009
Location: India
Distribution: Porteus atma
Posts: 84

Rep: Reputation: 21
Use ping

Hi
If you know the IP use ping 192.xx.x.x
Solutions for all the questions in the threads you posted now are available in any Linux Beginners book. Please refer them.
Pixellany is right.
-Cheers
indiajoe
 
Old 10-28-2009, 07:57 AM   #13
srk.
LQ Newbie
 
Registered: Oct 2009
Posts: 4

Original Poster
Rep: Reputation: 0
How to change the permissions of files owned by group

This is the case with apache user www(which is non-existant and has no home directory)
Users in that group www should be able to change permissions(chmod) of the files owned by group www(i.e files having ownership permissions www.www)
 
Old 10-28-2009, 08:13 AM   #14
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
Why is this in the server section?
 
Old 10-28-2009, 08:23 AM   #15
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Quote:
Originally Posted by pixellany View Post
Per the LQ Rules, please do not post homework assignments verbatim. We're happy to assist if you have specific questions or have hit a stumbling point, however. Let us know what you've already tried and what references you have used (including class notes, books, and Google searches) and we'll do our best to help. Also, keep in mind that your instructor might also be an LQ member.
As such, all of these homework questions have been merged into one thread, and the thread closed.
From now on, please adhere to the LQ Rules, and take Pixellanys advice on how to reasonably ask for help with homework-type questions.

Thread closed.
Sasha
 
  


Closed Thread



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
why can I remove files owned by another user in a directory of mine? melcataclysm Linux - Newbie 5 10-18-2009 06:06 AM
is there a way to list all files owned by a user? KingPanda Debian 3 10-29-2008 08:16 PM
user access to files owned by root jonfa Linux - General 2 07-09-2007 11:58 AM
vsftpd uploaded files owned by group? fredriksk Linux - Software 1 10-17-2005 08:48 AM
List files owned by user/group guideweb Linux - General 1 09-18-2004 08:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:14 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
Open Source Consulting | Domain Registration