LinuxQuestions.org
Help answer threads with 0 replies.
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 08-14-2003, 01:27 AM   #1
x2000koh
Member
 
Registered: Jul 2002
Location: singapore
Distribution: red had 7.2
Posts: 109

Rep: Reputation: 15
! in /etc/group. please help


Hi ! linux user,
I am using Debian 3. I have added new user to my using. "useradd" common. Unfortunately, when I login to my kde login screen. it say "login fail".

When I check my /etc/passwd it appear as below.

STUDENT:x:1001:103:Test Account:/home/user/student:/bin/bash

When I check my /etc/group it appear as below.

STUDENT:!:103:student: stud

I note that the /etc/group, the STUDENT has an "!" mark. What does that mean ? How can I retify this problem.

Appreciate your help

x2000koh
 
Old 08-14-2003, 07:56 AM   #2
jonas_larson
Member
 
Registered: Jul 2003
Location: Stockholm, Sweden
Distribution: RH9
Posts: 37

Rep: Reputation: 15
Hi,

Your group password is locked and only accesseble by root...

The Q'n'D way is to remove the group (groupdel STUDENT) and re-add the group. (groupadd -g 103 STUDENT)

Regards

Jonas
 
Old 08-17-2003, 08:23 PM   #3
x2000koh
Member
 
Registered: Jul 2002
Location: singapore
Distribution: red had 7.2
Posts: 109

Original Poster
Rep: Reputation: 15
why account lock

Hi ! Jonas,
Could you tell me why the account is locked. I am trying to understand so that I can prevent the same things happen in future.

x2000koh
 
Old 08-18-2003, 04:29 AM   #4
jonas_larson
Member
 
Registered: Jul 2003
Location: Stockholm, Sweden
Distribution: RH9
Posts: 37

Rep: Reputation: 15
Hmm,

No I can only guess...

Try looking at the logs and see if you can find anything...

Also have a close look at the account when you change it to see if it changes again...

Regards

Jonas
 
  


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
User and Group Admin: How to tell Who is in What group? Akhran Linux - Newbie 1 11-12-2005 11:16 PM
well, there's info written inside /etc/group. accidentally del /etc/group in RedHat9 karmakid Red Hat 1 07-27-2005 10:27 PM
/etc/group - the group users empty Artanicus Linux - General 2 02-22-2005 04:25 AM
Group Admin, Group Root, or God over Group crickett Linux - General 5 07-12-2004 04:01 PM
[alert] (22) Invalid argument : setgid : unable to set group id to Group 4294967295 Niraj Linux - Networking 1 12-13-2001 06:58 AM

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

All times are GMT -5. The time now is 04:53 PM.

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