Link to home
Start Free TrialLog in
Avatar of iqula
iqula

asked on

user administration

Hi

I am fairly new to Linux and just installed suse 9.1 pro, I wish to create a template user (access to apps, desktop theme and layout etc) so I can easily apply this to other new users I create.

Hopefully a painless non command prompt type solution.

thx
Avatar of Chireru
Chireru

Create a new group "myusers" and user ("myuser" in the "myusers" group) in the SuSE Admin tools.
Then set everything up, giving permissions to the group, and not the user.

After the configuration is done, as root, copy the myuser's home directory to /etc/skel.

From then on, when you create users, make sure to use the option "create user directory from skeleton" (-m if you use the commandline utility), which will copy over all of the default desktop settings from the /etc/skel as their default profile.  Also, make sure to put them in the same group that the template user was in, so they inherit the permissions.

This will take a bit of trial-and-error to get it right.
Avatar of iqula

ASKER

Ok got a group and a user but there seems to be no assign application rights to the group, it only has a list of "Members of this group" with at, bin, daemon, ftp ..
ASKER CERTIFIED SOLUTION
Avatar of Chireru
Chireru

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of iqula

ASKER

Thanks that makes good sence, do you know if there are any nice apps that help with these settings?  Also I tried moving the structure from one of my users into /etc/skel - once a new user was created this removed some of the icons on the desktop only do you know how I can get settings like the K menu apps, the background and icon themes?
I don't know of any applications that would do that.. just editing it in the GUI, or with CHMOD in the command line.

As far as I know, that should not remove any icons from the desktop..  check the user's desktop ( ~/Desktop ) for the missing icons.
Avatar of iqula

ASKER

I see that what ever you move into the etc/skel gets put into the new users home/~ directory, this is good but do you have any idea how I can move settings like icon themes and Kmenu setup?

All per-user settings are stored in the user's home directory, as various files.  Any and all customizations should be stored there.  Icon themes and Kmenu setup information should be stored in files in the user's home directory, if I'm not mistaken.  Outside of the home directory is usually reserved for system-wide settings.  

The themes would be installed to system-wide location on the harddrive, but the references to it would be in the configuration in the user's settings.  Notibly, in the .kde subdirectory in their home directory
Avatar of iqula

ASKER

I set the browser to show hidden files after a little copy across and user setup it all worked, thanks a million.
Oops!  I forget that the GUI doesn't show those automatically.. I use the command line for such actions.

Glad to hear it's working.