Go Back   TechArena Community > Software > Operating Systems
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Making permission for normal user in Linux

Operating Systems


Reply
 
Thread Tools Search this Thread
  #1  
Old 26-12-2010
Member
 
Join Date: Dec 2010
Posts: 231
Making permission for normal user in Linux
  

I have recently started with Linux Though it is great operating system. I am able to do following things when I am at root directory viz. moving of directories, Dial out, compilation, etc. Every time I have to move into root directory to perform above mentioned things. I want to permit normal user to perform such things. Is it really possible? If you know any commands to do the same please let me know as soon as possible.

Reply With Quote
  #2  
Old 26-12-2010
Member
 
Join Date: Nov 2009
Posts: 1,416
Re: Making permission for normal user in Linux

Well looking at your situation there is very simple way to allow the user to do above mentioned things. User should add itself into the etc/sudoers file where he can get sudo rights. ‘wheel’ named group is already exists in many Linux systems. You should try the following command. $ usermod -aG wheel yourUserName. In above command you have to write your name instead of yourUserName. You username will be transferred in to /etc/sudoers file. If you are already having the ‘wheel’ group simply add your username in to it or you can manually edit the file. I wish above mentioned solution will work for you.
Reply With Quote
  #3  
Old 26-12-2010
Member
 
Join Date: Dec 2010
Posts: 231
Re: Making permission for normal user in Linux

Thanks for the above mention reply. I am using Debain and I already know about the sudo. I want to make my user to run cmake', 'make' , Changing the name of the directories or the moving the directories in to the other directory without using the sudo command. Is there any other way to set the permission to the user? I hope you will provide me another solution on the same isse. Thanking you again for replying.
Reply With Quote
  #4  
Old 26-12-2010
Member
 
Join Date: Nov 2009
Posts: 1,269
Re: Making permission for normal user in Linux

Linux allows you three types of access for the files Viz. Read, Write,Execute. Each and every file belongs to specific user or group of user. Three types of permissions are available in the Linux. They are User permissions, Group permissions and Other Permissions. Well above mentioned information will provide you brief idea about the accessing the files and giving rights to the user. Thanking you for the reading the details
Reply With Quote
  #5  
Old 27-12-2010
Member
 
Join Date: May 2008
Posts: 2,674
Re: Making permission for normal user in Linux

Well if you want to change the permission or ownership of any file you may use the following code. Chown –R user:group /home/user Chown command changes the ownership of specified user. To set the permission for specified file you can use the following command. Chmod –R 755 /home/user. You can also set r, w, x access on the above mention code. If you want to more restrictive you can use 744. It provides only ready only access to the user, user group or other. I will be really happy if the above mention commands help you to fix your problem.
Reply With Quote
Reply

  TechArena Community > Software > Operating Systems
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Making permission for normal user in Linux"
Thread Thread Starter Forum Replies Last Post
Windows 7: Normal User cannot use Personalize Ansari Bros Operating Systems 5 09-01-2011 06:33 AM
Is it normal that N97 Mini gets really hot when making calls? Tanaya Portable Devices 4 25-09-2010 12:17 PM
Mstsc /console user permission Itkila Active Directory 2 06-01-2010 03:29 PM
Permission for user Asghar Operating Systems 1 16-10-2009 11:13 AM
User does not have permission to run DBCC TRACEON Blazej Software Development 3 16-05-2009 09:30 AM


All times are GMT +5.5. The time now is 02:24 PM.