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 11-04-2008, 04:43 PM   #1
LQ Newbie
Registered: Nov 2008
Posts: 9

Rep: Reputation: Disabled
How to set and use group password?

I'm trying to create a group and set a group password for users.

Please help!!!
Old 11-04-2008, 04:52 PM   #2
Registered: Aug 2006
Location: London
Distribution: Debian, Kubuntu
Posts: 572

Rep: Reputation: 75

(Maybe stating the obvious) For locally administered machines (won't work with LDAP) use gpasswd see - 'man gpasswd'
Old 01-07-2012, 05:37 AM   #3
LQ Newbie
Registered: Jan 2012
Posts: 3

Rep: Reputation: Disabled
Red face

Old 01-07-2012, 05:41 AM   #4
LQ Veteran
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Originally Posted by MighteR8 View Post
Excuse me?

You open a 3 year old thread to tell us that you are a noob?

- Please refrain from opening old files.
- Be constructive if you decide to post an answer.
Old 08-02-2012, 01:58 AM   #5
LQ Newbie
Registered: Aug 2012
Posts: 1

Rep: Reputation: Disabled
A group password in Linux
Have you ever heard of (or used) a group password in Linux? For me this strange concept was new, but here's what you can use it for.

A group password in Linux allows a user to temporarily (in a subshell) gain extra permissions of a group, after successfully entering the group password.

To set a group password use gpasswd:
# gpasswd finance
New Password:
Re-enter new password:
To gain those extra permissions you can use newgrp:
$ newgrp finance
Some of the disadvantages are:

Sharing a password is not good; a password should be personal.
You can also solve this by adding the user to a secondary group.
Another way to solve it is to use sudo.
Usage of the group password is not accountable.


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
How to set login and password and root password in suse 10.2 sirius57 SUSE / openSUSE 8 07-24-2007 10:51 AM
Set group id,set user id? JAKK Slackware 3 06-15-2006 11:16 PM
How to view set-user-ID and set-group-ID Xris718 Linux - General 7 01-10-2004 02:44 PM
[alert] (22) Invalid argument : setgid : unable to set group id to Group 4294967295 Niraj Linux - Networking 1 12-13-2001 07:58 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:54 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
Open Source Consulting | Domain Registration