View previous topic :: View next topic |
Author |
Message |
raid517 l33t

Joined: 06 Mar 2003 Posts: 946
|
Posted: Wed Oct 01, 2003 6:08 pm Post subject: Creating users in KDE. |
|
|
Hi whenever I try to create a user in KDE, I always get an error message saying:
Code: | No shadow entry for Cron.
No shadow entryfor squid.
no shadow entry for gdm.
No shadow entry for xfs
no shadow entry for named
No shadow entry for my sql
no shadow entry for postgres
no shadow entry for apache
no shadow entry for nut
no shadow entry for cyus
no shadow entry for vpopmail
no shadow entry for alias
no shadow entry for qmaild
no shadow entry for qmail
no shadow entry for qmailp
no shadow entry for qmaiq
no shadow entry for qmailr
no shadow entry for qmails
no shadow entry for postfix
no shadow entry for smmsp
no shadow entry for portage |
I have no idea what most of those mean (bar portage] and I confess I did try and make myself a member of as many groups as possible in the hope of avoiding future problems. This might have been a dumb thing to do, but I don't know. In any ase the new user is created, but when I open the account I cannot open a terminal to perform any action, which as you know in Linux is not much good. Without access to the CL, there isn't much that can be done.
How do I fix this and ensure users have access to the CL too?
Your input is welcome.
Q |
|
Back to top |
|
 |
ctford0 l33t


Joined: 25 Oct 2002 Posts: 774 Location: Lexington, KY,USA
|
Posted: Thu Oct 02, 2003 12:23 am Post subject: |
|
|
there is a nice cl utility to create users. its called "superadduser". its a fairly straightforward setup, very easy to use.
chris |
|
Back to top |
|
 |
raid517 l33t

Joined: 06 Mar 2003 Posts: 946
|
Posted: Thu Oct 02, 2003 12:39 am Post subject: |
|
|
Yes, thanks, that is useful to know, but it's not really my question. My question is, what are these errors and what do they mean. Also how do I prevent them from happening?
As I said if I do add a user, via the CL or whatever, they don't seem to be able to access a terminal, which is something I have never encountered before.
If anybody has any insight on this, i'd appreciate your input.
Q |
|
Back to top |
|
 |
ctford0 l33t


Joined: 25 Oct 2002 Posts: 774 Location: Lexington, KY,USA
|
Posted: Thu Oct 02, 2003 1:57 am Post subject: |
|
|
if you use the command user from the cl then there are more args that you have to give than just the username that you want. you also have to specify the shell you want them to use as well as their home dir. without either of these specified then they will not be able to login as you say.
i have experienced this before, i have no clue what those errors are, however, i have found that the easiest way for me to addusers is to use superadduser. you have to emerge it btw.
all of those items such as gdm and the like that you posted above are users, possibly groups as well, that the os creates when you install those particular programs. try cat /etc/passwd to see a full list of users. again, i have no clue why you see them or even when you see them.
EDIT:
Ok, i tried out kuser myself, and i see the errors you are speaking of, however they did not effect my ability to login as the user.
When creating the user just make sure you specify a home dir, set the password, and specify a shell for the user. as long as you do this and the home dir exists then you should be fine. if it still doesnt allow you to create a working user account then try creating one with superadduser to see if it works...
chris |
|
Back to top |
|
 |
raid517 l33t

Joined: 06 Mar 2003 Posts: 946
|
Posted: Thu Oct 02, 2003 2:53 am Post subject: |
|
|
Do you have problems using a shell when you create a user using kuser?
It would be cool to work out what on Eath kuser was going on about.
Q |
|
Back to top |
|
 |
jstead1 Guru


Joined: 01 Aug 2003 Posts: 427 Location: Oswego, NY where the snow is deep
|
Posted: Thu Oct 02, 2003 2:56 am Post subject: |
|
|
The no shadow entry comment means just that, there is no shadow entry for the password for these users in /etc/shadow. These users don't log in.
When you add a new user and set the password (or perhaps on the first log in after you set the password, I can't remember) the user has a shadow entry (hashed password in /etc/shadow).
I wouldn't worry about it. But I wouldn't add your user to all the groups. There are a few you may want to (games, wheel [if you want to su] cdrom or cdrw or cdrecord audio floppy usb users) but I wouldn't advise much more unless you hit a snag. _________________ jim |
|
Back to top |
|
 |
raid517 l33t

Joined: 06 Mar 2003 Posts: 946
|
Posted: Thu Oct 02, 2003 3:03 am Post subject: |
|
|
Ok I've followed your advice, but I still can't open a shell in any environment other than root. Have you any idea what that's about or how to fix it?
Q |
|
Back to top |
|
 |
ctford0 l33t


Joined: 25 Oct 2002 Posts: 774 Location: Lexington, KY,USA
|
Posted: Thu Oct 02, 2003 3:03 am Post subject: |
|
|
I just added a new user "test". I then set the password for the new user by clicking on the set password button. i then logged out of kde and logged in with the new user, pulled up konsole and everything was fine. i listed my new home directory and even did pwd to make sure that i was in fact in the /home/test dir.
everything seems to work fine here. it sounds like something is wrong with setting the default shell or something. make sure that /bin/bash, if that is what you use, is in the shell box.
chris |
|
Back to top |
|
 |
raid517 l33t

Joined: 06 Mar 2003 Posts: 946
|
Posted: Thu Oct 02, 2003 3:06 am Post subject: |
|
|
Lol you beat me to it, read above. Also with superadduser I went with the defaults all the way except when choosing groups.
I certainly can't run as root permanatly. But nor can I run as a user without a shell.
It's all very odd...
Q |
|
Back to top |
|
 |
|