LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-10-2006, 12:44 PM   #1
LlamaNerds
LQ Newbie
 
Registered: Aug 2005
Posts: 6

Rep: Reputation: 0
User Descriptions


I'm not new to Linux, but I've just been a user up to this point (taking advantage of it's strengths without getting into a lot of the 'nitty gritty').

I'm looking for a good, concise, comprehensive description of the different types of users (root, users, bin, nogroup, public, etc). Some of them are fairly obvious, or at least I assume so (I assume that the "game" group allows people to access the games, etc). I have been frustrated with having switch to root to do some things lately, but don't know what group I should switch my user account to (most people seem to agree that you shouldn't run X as root).

If someone can point to a good webpage, or alternatively post something in here, that would be great!

Last edited by LlamaNerds; 01-10-2006 at 01:00 PM.
 
Old 01-10-2006, 01:18 PM   #2
jollyjoice
Member
 
Registered: Aug 2003
Location: UK
Distribution: Gentoo 64
Posts: 383

Rep: Reputation: 30
ok, put "wheel" in your group then you can use "su", this allows u to run stuff as root.

to acess su open konsole and type it, then you can execute stuff as root.

What stuff do you want to run as a user? Are they admin sorta things? If so It's probably going to have to be root/su.
 
Old 01-10-2006, 02:52 PM   #3
jrdioko
Member
 
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944

Rep: Reputation: 30
You shouldn't normally have to add yourself to wheel to use "su", just use it to temporarily become root when you're making administrative changes, and then return to being your normal user. If even that is too annoying, look into "sudo".

As far as all the "types" of users you're talking about, those are most likely just groups on the system, and what they allow you to do depends on what is assigned to those groups. If you type "ls -l" in a directory, you can see the owner and group of each file. Depending on the permissions, those in the group assigned to the file can usually do more than those not in the group.

It's probably better to just leave your normal user in the users group, and use "su" or "sudo" when you need to temporarily have administrator permissions for something. If you give more access to your user, you risk accidentally deleting system files or giving a rogue program access to your entire system.
 
Old 01-11-2006, 12:10 PM   #4
LlamaNerds
LQ Newbie
 
Registered: Aug 2005
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jollyjoice
What stuff do you want to run as a user? Are they admin sorta things? If so It's probably going to have to be root/su.
I have been having trouble (as have many, apparently) getting my fstab modified to the point where I can mount a samba fileserver as a user. Thus far, I have had to mount it as root, which will allow me to read the files on it, but any uploads that I have to do, I must do from terminal, also as root. I would much rather not have to go to the extra trouble each time, so I would like to figure out what permissions I need to have to write as my own user.
 
Old 01-11-2006, 12:27 PM   #5
jollyjoice
Member
 
Registered: Aug 2003
Location: UK
Distribution: Gentoo 64
Posts: 383

Rep: Reputation: 30
hmm, try putting "users" in your fstab for that mount.
 
Old 01-11-2006, 05:11 PM   #6
LlamaNerds
LQ Newbie
 
Registered: Aug 2005
Posts: 6

Original Poster
Rep: Reputation: 0
Yeah, I've tried that. I don't know if it's a Suse specific problem, but a lot of people seem to be having problems with samba mounts from fstab, at least in the Suse forums.

Here's what I have in fstab:

//10.5.4.50/sparky /home/sparky/Remote/Mac smbfs noauto,users,credentials=/home/sparky/.macpwd 0 0

It keeps telling me that smbmnt must be installed setuid root for direct user mounts

Last edited by LlamaNerds; 01-11-2006 at 05:13 PM.
 
  


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
C program to see user log on in system and print user with real user name also naveen245 Programming 2 12-21-2005 12:53 AM
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 08:04 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