LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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-19-2003, 07:31 PM   #1
insanebluecow
LQ Newbie
 
Registered: May 2003
Distribution: Mandrake
Posts: 17

Rep: Reputation: 0
New user


Ok, I've been using Linux for about a week now, and have tried making a new user other than root, succeeded, but found that many of the features, such as mounting CDs, compiling stuff, etc. How do I enable this? I really need to start using an account other than root, cuz I hear it's bad practice to do this. Any suggestions?
 
Old 06-19-2003, 07:42 PM   #2
lnxkido
Member
 
Registered: May 2003
Posts: 34

Rep: Reputation: 15
Usually U log into the system using U'r account and then "su" to root to do any system critical tasks.

Example given below...

$> su - root
password: xxxxxxxx

#root>mount /dev/cdrom /mnt/cdrom

#root>exit

$>
 
Old 06-19-2003, 07:45 PM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
To give a regular user access that only root has, you should look into sudo or maybe just "su -" to login as root to perform the task, then log back out. To give a regular user access, you need to learn more about permissions, setting permissions and ownerships, groups, etc.

Some commands to learn and you can read the man pages by type man followed by the command:

chmod
chown
chgrp
sudo
su
useradd
groupadd

Also for mounting cd's and such, you can check or change the permissions for some drives in your /etc/fstab file. Have a search around the forums as its asked and explained all the time.

But yes, its always good practice to just be a regular user instead of root all the time.
 
Old 06-19-2003, 08:26 PM   #4
insanebluecow
LQ Newbie
 
Registered: May 2003
Distribution: Mandrake
Posts: 17

Original Poster
Rep: Reputation: 0
Odd, it won't let me into X when I use my other account... dangit.
 
  


Reply



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
Load kde profile from /mnt/removable/user instead of /home/user preacher.ca Linux - General 3 12-02-2005 03:00 PM
Samba -- XP user can log in to shares but smbclient user always gets password errors ejoe Linux - Software 3 04-18-2005 10:55 AM
grant user access to /fat-c & copying users' preferences to another user n0x Linux - Newbie 1 07-04-2004 12:04 AM
Games runs slow as normal user, but fast as root user mcore Linux - Software 2 06-07-2004 11:11 PM
Pleasehelp with proftpd.conf - trying to config user to write files as other user. philg Linux - Software 1 06-21-2003 12:13 PM

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

All times are GMT -5. The time now is 06:20 AM.

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