Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 06-19-2008, 02:28 AM   #1
LQ Newbie
Registered: Jun 2008
Posts: 5

Rep: Reputation: 0
Question adding users


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 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.

Old 06-19-2008, 02:44 AM   #2
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, 03:19 AM   #3
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 03:26 AM. Reason: wrong link
Old 06-19-2008, 03:43 AM   #4
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.


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

All times are GMT -5. The time now is 11:36 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration