LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   one profile for all users (https://www.linuxquestions.org/questions/linux-networking-3/one-profile-for-all-users-509690/)

guy_ripper 12-12-2006 07:21 AM

one profile for all users
 
Hi,

I'm using fedora 6 for ldap server and workstation. My concern is if anyone knew on how to tweak or getting a standard desktop profile for all the clients who log into workstations. Let say this certain user (client1) has this desktop, panel, menus, icons and etc. then, a nother certain user (client2 will log to workstation would adopt the same settings from client1. However, of course only home folders are different.

Thanks....

homey 12-12-2006 08:07 AM

I setup user1's desktop and apps before creating any other users. Then, I copy user1's home folder to /etc/skel.
Code:

rm -rf /etc/skel
mkdir /etc/skel
rsync -av --exclude='.thunderbird' /home/fred/ /etc/skel

Berry Linux uses /etc/X11/xinit/xinitrc.d/xdesktop.sh to restore default settings to the desktop at each login and Knoppix uses a similar idea in /etc/X11/Xsession.d/45xsession. If you look at those, you might get some ideas.

guy_ripper 12-16-2006 09:49 AM

@homey, wow, that's great.. it works...

@homey does it work also using bash script? I want to automate all users profile and centralize into one. If new user will logon.. it will setup the profile without user knowledge. Is that possible? Thanks...


All times are GMT -5. The time now is 10:49 AM.