LinuxQuestions.org
Latest LQ Deal: Linux Power User 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 06-12-2007, 03:25 PM   #1
sbhelpme
LQ Newbie
 
Registered: Jun 2007
Posts: 1

Rep: Reputation: 0
Unhappy Permissions & execute files


Hello,

I'm really hoping that someone can help me. I've been thrown in the deep end with a Linux server (Redhat 9) and I normally manage Windows servers.

We have a fresh Linux Redhat 9 box, which I have been asked to do the following for:

Create a new user account, who will have permission to a folder on the server called e.g. foldera, the folder can exist in /home/<newuser>/foldera

The new user account must be able to write/delete/execute within the folder.

&

The new user account must be able to execute a program called 'runme.run'(which will exist in foldera). Is it possible to get the runme.run to be executed in a script during the startup of the server as well?

Any help would be appreciated, I don't have a clue what to really do.
 
Old 06-12-2007, 03:31 PM   #2
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
Sounds like a homework question.... given the benefit of doubt.

Consult the following documentation.
man adduser
man chown
man chmod
 
Old 06-12-2007, 03:43 PM   #3
creativename
Member
 
Registered: Oct 2006
Posts: 41

Rep: Reputation: 15
Quote:
Originally Posted by farslayer
Consult the following documentation.
man adduser
man chown
man chmod
That will for the most part cover it.

Just in case you do not know, you will need type those in at the command line or a terminal emulator. ;]
 
Old 06-13-2007, 05:31 AM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,362

Rep: Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377
Just FYI, RH9 is waaay out of support and has been superceded by either RH Fedora core 7 or the latest RH Enterprise Linux (v4?). BTW, you can get free version of RHEL from Centos.
I strongly suggest you update (fresh install) a more modern distro if you are going to learn/use this for real.
 
  


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
Permissions propagating to subfolders & files linus Linux - General 2 06-21-2007 12:58 PM
Permissions to execute...? Elric of Grans Linux - Software 3 01-07-2007 06:24 PM
set file permissions for 100 directories & its files cevjr Linux - Security 6 01-06-2005 10:23 AM
Set Execute Permissions? scottlyter Linux - Software 3 10-19-2004 04:42 PM
files&folders permissions under SAMBA share shani Linux - Software 2 11-20-2003 11:48 AM


All times are GMT -5. The time now is 05:11 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