LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 09-22-2003, 10:17 PM   #1
zick
LQ Newbie
 
Registered: Sep 2003
Posts: 26

Rep: Reputation: 15
USERS command displays all accunst as root? Why?


Hi

After runing users command as root I am getting root root root root accounts, Why? I have 4 different users set up on linux Mandrake 9.1. Why I can not see what are my users on the system with this command? I can see the users in /etc/passwd file. That's it.

Thanks for you help.
 
Old 09-22-2003, 10:38 PM   #2
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 47
the users command shows the users who are logged in, not the ones set up on your system. Do you by any chance log in as root from the start? That would explain why only root is logged in. Don't login as root. Instead change to root by su whenever necessary.
 
Old 09-22-2003, 10:41 PM   #3
zick
LQ Newbie
 
Registered: Sep 2003
Posts: 26

Original Poster
Rep: Reputation: 15
Thanks Thanks man, for you time


Yes I am logged in as root from KDG start, acctualy I prior loging in to Linux Mand 9 I have a lists of account to pick and I picked root account. So what is the commond to list all set up accounts on my system? do you know?

Thanks

And 1 mor time thx for your help
 
Old 09-22-2003, 11:43 PM   #4
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 47
I'm not sure if there is a command. You get the list of all users in /etc/passwd. But this contains all sorts of users set up by the system. Usually, the ones that you see at the login screen are the normal users. And there's root. Don't login as root though. It's dangerous.
 
Old 09-23-2003, 12:00 AM   #5
zick
LQ Newbie
 
Registered: Sep 2003
Posts: 26

Original Poster
Rep: Reputation: 15
I have to otherwise i won't be able to manipulate/set CUPS or SAMBA in GUI. Geting back to my first question even when I change the ex. su administrator and as administrator i run the USERS command i still see 4 x user account as root.

root root root root
[sdfasdfhaslkdjhfalskd whatever]#

Thanks anyway.

By the way do you know how to enable everybody to print to win 2000 printer remot printer from Linux Mand 9.1 ? only user that I alowed to print can only print and manage the printer queue, but I want to give everybody access to print. Do I have to use the share level in SMB as shared? cause rigth now I have user?

Any idea?

thanks
 
Old 09-23-2003, 12:30 AM   #6
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 47
No idea about the printer thing. Search in the forum and if you don't find anything, start another thread.

It's strange you should see root logged in 4 times. You are logged into KDE as a normal user, right? should show up at least once.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RHEL3 Mounting USB after reboot and between reboots: root and non-root users Luis Nunes Linux - Hardware 0 07-20-2005 09:32 AM
Different video drivers are loaded for root and non-root users triet Linux - Software 1 12-31-2004 03:20 PM
[FC2]Why does the users command display multiple users? Harkov Fedora 1 07-10-2004 10:24 PM
Which command displays the dir tree of a HD? cbjhawks Linux - General 5 02-28-2004 01:17 AM
is there a command that displays processor information? ex: AMD DURON 800mhz kublador Linux - Newbie 3 09-11-2003 04:29 AM


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