Re: [suse-kde] useradd command to create accounts for KDE Yast users
Hello David, I haven't used XDMCP before. The closest thing I've used to that is VNC but I don't think that what you want to use. I just did the useradd command on my machine. It adds the account but doesn't create the home directory. Did you create a home directory (e.g. /home/user)? Once I created the home directory (e.g. mkdir) then I was able to log in as the user into KDE. Then again, I'm logging in locally. Does the user see the KDE login screen (GUI)? If so, are they able to type in their username and password? If not, it sounds like X authentication credentials. You may need to look into remote X sessions or perhaps someone on the list has done this before? Alvin On April 20, 2005 11:53 am, David Anguish, EPFL wrote:
Hello Alvin, Thanks for your reply. In fact my users do not get that far! They are logging in to the SUSE server from Windows PC's, that connect using XDMCP Query to the SUSE server, and they see remotely the KDE Yast loggin interface. They cannot login because I created their accounts using the "useradd" command which only creates accounts for ssh, rlogin etc users, and not for users connecting through the KDE interface. The only way I can make this work is to enter my users by hand using the Yast administration tool to create users. As administrator of the server, I would like a script to do this - if you see what I mean, RSVP, Kind Regards, David A.-
On April 20, 2005 03:34 am, David Anguish, EPFL wrote:
Hello, Thanks for reading my request. I am new with SUSE, so thank-you for your consideration. Here it is:
I would like to add user accounts to a SUSE 9.2 server system using a shell command, similar to useradd, that is able to create a login account that works for users logging in through the KDE Yast interface(XDMCP query from a PC say) as well as, of-course, the standard ssh, rlogin way. If a useraddYast shell command does not exist, what, in your opinion, is the best method to create an account that works ?, With Much Thanks for your kind help, David A.-
At the console try the command 'yast'. Yast will detect that you are on a console and go into console mode. From there you can do everything yast can do in X.
-- Please reply to the list only.
-- To unsubscribe, email: suse-kde-unsubscribe@suse.com For additional commands, email: suse-kde-help@suse.com Please do not cross-post to suse-linux-e
-- Alvin Beach, Manager of Software Engineering Deep Vision Inc. 33 Ochterloney St, Suite 125 Dartmouth, NS B2Y 4P5 Canada Phone: 902-461-1540 Fax: 902-463-0139 Email: abeach@deepvision.ca URL: http://www.deepvision.ca
On Wednesday 20 April 2005 17:01, Alvin Beach wrote:
Hello David,
I haven't used XDMCP before. The closest thing I've used to that is VNC but I don't think that what you want to use.
I just did the useradd command on my machine. It adds the account but doesn't create the home directory.
useradd -m <username> creates the home directory as well. Well, maybe the new users have to be in a specific group. Here on my machine, Yast puts them in audio, dialout, uucp and wheel, by default. Did you check if group memberships are the same for Yast- and useradd-created users? Another place to look may be the Xacces files. I have one in /etc/X11/xdm/Xaccess and another one in /opt/kde3/share/config/kdm/Xaccess . Maybe Yast modifies them when it detects that XDMCP connections are allowed (which are disabled by default, as they say in /etc/X11/xdm/README.security). Finally, the Yast perl sources might help elucidate the magic behind its behavior. ;) Just guessing... Kind regards, Michael -- Michael Schmuker University of Frankfurt Chair of Cheminformatics http://www.modlab.de
participants (2)
-
Alvin Beach
-
Michael Schmuker