Skip navigation.
Home
Now Shipping Version 7.0

Users


Posts: 229

Hello,

I have made one extra user, guest. It is all configured to my liking. Now I want to make multiple users based on that profile? Making users using the OS center or Kuser creates a ??? out of the box??? profile.
Is there any way to do make copies of the guest profile?

I have tried to copy a home directory, but it will not boot, tons of error messages.

Any help would be much appreciated.

Carl

Jon Du Quesne's picture

Making New Users

Carl, after you have created your "template user" guest, which I'm assuming you have tweaked to add/subtract things from do this. Create each of your other users with Kuser if that's your preferred method. This is necessary to create uids and gids (user and group ids) which are NUMBERS that are connected with the user. This will also create /home/user1, /home/user2, etc.

Once that's been done the next steps will have to be done as user root. Open a Konsole and "su" to root and enter root's password. You SHOULD NOT be logged in as guest since you will be copying the directory. Move to the /home directory (cd /home). Remove the current /home/user1 directory (rm -r /home/user1). Now copy guest to user1 (cp -rp /home/guest /home/user1). Finally, change the owner of /home/user1 (chown -R user1 /home/user1) (note uppercase "R").

At this point you should be able to log in as user1. Do the same thing with the other users.

If it's a matter of having certain applications available you can also tweak the standard install by going to the directory /etc/skel. This is the "skeleton" directory used to create /home/someuser. This must all be done as user root.

Jon

Almost there

Hello Jon.

I am no expert here, however I am very close. I did your 4 steps fine. However, I had to add my new user name to match the the groups in the groups tab. This fixed my sound issues.

I also had to change the permissions on K notes, that is fine now.

My only setback is no oopenoffice applications open? I reset the permissions in usr/bin/oofice, but no joy.

What group would Oofice fall into?

Any ideas to get oofive to launch?

Many thanks for your help so far.

Carl

Jon Du Quesne's picture

Which permissions?

Carl, exactly which permissions (and where) did you change and what did you change them to?

On my system, from a Konsole window, I do "whereis openoffice". It returns the location of the real command which happens to be /usr/bin/openoffice. Permissions on that file are "rwxr-x-r-x" and owned by root, group root. That is as it should be. Also, "whereis oowriter", which is the command that starts the writer application of openoffice, is actually a "symbolic link" to openoffice. It too is located in /usr/bin/oowriter, but it points to /usr/bin/openoffice. Permissions and ownership of links "doesn't count" as the permissions and ownership of the real command are what matter. Let me know what you find and I'll see if I can help further.

There are some "tricky" hidden files down under /home/youruser directory and they usually have to be sought out one-at-a-time, so I'm glad that you're "getting there" Smiling

Jon

figured it out !

Jon

It was not a permissions issue. I simply went to /home/newuser/.openoffice/1.1.3 and select setup
and all oo programs work now.

in summary:
I followed your 4 steps,
I matched newuser groups list with a present grouplist on kuser.
[helped issues like kppp and audio]

confugure user login

restart kmix and knotes

and above for ooffice.

Thank You big time for your help jon.

Carl

Jon Du Quesne's picture

Great!

Glad I could help Carl. Have fun Smiling

Jon

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.