Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-10-2004, 09:00 PM
|
#1
|
LQ Newbie
Registered: Jan 2004
Location: Sydney, Aust
Distribution: Suse 9.1
Posts: 27
Rep:
|
There is a strange line in the file /etc/group
Trying to log in as root is failing for me - i get the error suggested above
The file /etc/group reads
root:x:0:
bin:x:1:daemon
daemon:x:2:
sys:x:3:
tty:x:5:
disk:x:6:
lp:x:7:
www:x:8:
kmem:x:9:
wheel:x:10:
mail:x:12:
news:x:13:
uucp:x:14:bootsy
shadow:x:15:
dialout:x:16:bootsy
audio:x:17:bootsy
floppy:x:19:
cdrom:x:20:
console:x:21:
utmp:x:22:
at:x:25:
public:x:32:
video:x:33:bootsy
games:x:40:
xok:x:41:
trusted:x:42:
modem:x:43:
ftp:x:49:
postfix:x:51:
maildrop:x:59:
man:x:62:
sshd:x:65:
ntadmin:x:71:
distcc:x:101:
nobody:x:65533:nobody
nogroup:x:65534:nobody
users:x:100:
using Suse 9.1, kernel 2.6.5-7.111
was trying to fix some issues with jack and ardour as per this link here
can someone pls tell what is wrong with the above and how I can fix it now that I can't log in as root. I can login as root through a terminal so am hoping that may help...
|
|
|
11-10-2004, 09:44 PM
|
#2
|
LQ Guru
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,354
|
"There is a strange line in the file /etc/group"
The only line that looks even a little strange is:
distcc:x:101:
That line was not created during the SuSE install but otherwise it seems OK to me. Did you put it in by hand? So if you can edit /etc/group from a terminal as root then try deleting the distcc line. If that doesn't work then you can put distcc back the way it is.
---------------------------
Steve Stites
|
|
|
11-10-2004, 11:21 PM
|
#3
|
LQ Newbie
Registered: Jan 2004
Location: Sydney, Aust
Distribution: Suse 9.1
Posts: 27
Original Poster
Rep:
|
Thanks Steve
Unfortunately it didn't work
|
|
|
11-10-2004, 11:45 PM
|
#4
|
LQ Newbie
Registered: Jan 2004
Location: Sydney, Aust
Distribution: Suse 9.1
Posts: 27
Original Poster
Rep:
|
btw
If I try to login as root it throws me straight to Yast. If I close yast it throws me straight back to the login screen.
|
|
|
11-11-2004, 02:59 AM
|
#5
|
Member
Registered: Sep 2004
Location: 127.0.0.1
Distribution: Slackware 13; Ubuntu Raspberry Pi OS
Posts: 255
Rep:
|
Take a look at your /etc/passwd file and check to see what your root user has for a shell. It should look something like this:
root:x:0:0::/root:/bin/bash
What you describe makes me think it would look something similar to:
root:x:0:0::/root:/sbin/yast
The other thing I noticed is my group file has two colons after the group name instead of one.
root::x:0
bin::1:root,bin,daemon
daemon::2:root,bin,daemon
etc, etc, etc
Last edited by n0sr; 11-11-2004 at 03:06 AM.
|
|
|
11-11-2004, 01:32 PM
|
#6
|
Member
Registered: Oct 2004
Location: Brooklyn
Distribution: Slackware 15;
Posts: 454
Rep:
|
distcc is the distributed c++ compiler. It allows a compiler to exist on one computer and be available for all others on the lan.
|
|
|
11-12-2004, 05:21 PM
|
#7
|
LQ Newbie
Registered: Jan 2004
Location: Sydney, Aust
Distribution: Suse 9.1
Posts: 27
Original Poster
Rep:
|
Thanks for your replies n0xvb & apolinsky
My /etc/passwd file shows
root:x:0:0:root:/root:/bin/bash
maybe it's suse thing but I've got single colons instead of double in both /etc/passwd and /etc/group as you have n0xvb.
Any suggestions from here - should I just reinstall from scratch or is there an easier way out (I hope!?!?)
|
|
|
11-12-2004, 06:31 PM
|
#8
|
LQ Newbie
Registered: Jan 2004
Location: Sydney, Aust
Distribution: Suse 9.1
Posts: 27
Original Poster
Rep:
|
Just tried running the System repair utility on the install dvd - and every time it hangs on he check of installed packages at 26/205. Does anyone know what package 26 is?
|
|
|
11-14-2004, 03:42 AM
|
#9
|
Member
Registered: Sep 2004
Location: 127.0.0.1
Distribution: Slackware 13; Ubuntu Raspberry Pi OS
Posts: 255
Rep:
|
I think you need 2 colons after the group name in the group file. Here is what each line should contain:
<group name> : <group password> : <gid> : <user>,<user>,<user>
if you have something between the first and second delimiters then that becomes the encrypted password for the group.
I think your system is expecting a password tied to the groups and when it gets no password it fails.
try looking at the man pages:
Code:
man 5 group
man 5 passwd
They explain the format very well
Last edited by n0sr; 11-14-2004 at 03:45 AM.
|
|
|
11-14-2004, 08:59 PM
|
#10
|
LQ Newbie
Registered: Jan 2004
Location: Sydney, Aust
Distribution: Suse 9.1
Posts: 27
Original Poster
Rep:
|
Thanks again n0xvb
The double colons didn't do anything - in the end I have decided to go for another reinstall. I've tried so many things now (and silly me haven't recorded them) that I can't remember all the changes I've made - it could be anything now...
Such are the trials and tribulations for a linux noobie - playing with a very flexible system can be dangerous for those playing far beyond their current capabilities...
Last edited by bootsy; 11-14-2004 at 09:00 PM.
|
|
|
11-16-2004, 10:14 PM
|
#11
|
Member
Registered: Sep 2004
Location: 127.0.0.1
Distribution: Slackware 13; Ubuntu Raspberry Pi OS
Posts: 255
Rep:
|
That is true, but on the other side of that coin? The best low level knowledge of your system, and the ability to learn and make it just the way you want.
|
|
|
All times are GMT -5. The time now is 08:27 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|