LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-2008, 03:28 AM   #1
ub007
LQ Newbie
 
Registered: Jun 2008
Posts: 5

Rep: Reputation: 0
Question adding users


Hi,

This is my first post & its great using Ubuntu.
I added few users using both 'adduser' & 'useradd' commands.Also created groups and added the users to it.Now, how do i view the users which i just added.eg...I have added 3 users (james,mark,john) to a group 'beginners'.which command will list me the group -'beginner' & the users in it?

Secondly,how do i assign admin rights to one of the users in that group?

I've just started off with Linux and sorry guys,if I ask somethin really naive or stupid.

Cheers,
David
 
Old 06-19-2008, 03:44 AM   #2
coolguy420
LQ Newbie
 
Registered: Jun 2008
Posts: 1

Rep: Reputation: 0
bro plz go to the /home directrory u will find each user there
 
Old 06-19-2008, 04:19 AM   #3
culaterout
Member
 
Registered: Jul 2006
Location: colorado
Distribution: Debian, Arch Linux, Linux Mint, Ubuntu, Fedora, Suse, Mepis, Redhat, Sayabon, mandrake and android (
Posts: 189

Rep: Reputation: 29
Allowing other users to run sudo or administrative tasks...

To add a new user to sudo, open the Users and Groups tool from System --> Administration menu. Then click on the user and then on Properties. Choose the User Privileges tab. In the tab, find Administer the system and check that.

Realize the user could easily take the system down with a few clicks....

best way to go is chmod read about this by opening a terminal window go to start button Accessories>Terminal> type on command line man chmod...

When you want to quit reading press q to quit....

also read on sudo in the terminal = man sudo


man= manual pages

sudo= temporary admin rights

chmod= change mode or in English change rights

ls = list files...

Last edited by culaterout; 06-19-2008 at 04:26 AM. Reason: wrong link
 
Old 06-19-2008, 04:43 AM   #4
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
Also you can cat /etc/passwd and /etc/group files to list the number of users and groups.
 
  


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
adding users samuslove Linux - Desktop 7 04-28-2008 03:01 AM
Adding users andy_g_gray Linux - Newbie 1 01-20-2006 11:43 AM
Adding New Users guygriffiths Linux - General 4 10-13-2003 11:11 AM
adding users jmarsh Linux - Networking 25 10-08-2003 08:59 PM
adding Users hextex Linux - Newbie 5 06-08-2001 04:54 AM


All times are GMT -5. The time now is 07:06 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration