LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 09-05-2008, 08:51 AM   #1
maskiepop
Member
 
Registered: Jul 2008
Posts: 34

Rep: Reputation: 15
configuring new users


I have an ubuntu 8.04 running on my pc. I have more or less exclusive use of my pc. My first uid was defined during install just recently and has admin privileges; I have also defined two others for my own use with lesser privileges. I'd like to define one or two more uids, not for me, but for other users of my pc as well.

What I want is to get the uids desktops to appear and behave as closely as possible to that of the admin one. My cli for the lesser uids, for instance, behave differently from that of the admin one. The prompts are different; there is no autocmplete feature, the up/down keys behave differently, etc. What's the easiest way to have a common set of features for the cli for all users I defined on my pc/ubuntu?

What about the general appearance of the desktop? Icons, launchers, etc. As I said, I'd like just about all of them to look the same -- at least at the beginning. Do I have to configure them manually whenever I add a new user? Or is there a feature that can "automagically" produce a consistent appearance for all users in ubuntu 8.04, i.e. a different default appearance/configuration than what I am getting now?

TIA
 
Old 09-06-2008, 02:17 AM   #2
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
For default configurations, edit the config files in /etc. Note: programs will often look there for a default but create their own user default if there is no config file - so a config file won't necessarily exist until you create it. The names of the config files depends on the particular software it configures of course ...

You may also consider an /etc/user_defaults directory which has a collection of config files to be copied to a user's HOME when the user is created. You might also copy and modify the 'adduser' script (call it something else and put it in /usr/local/sbin) so that default users are added to the appropriate groups, config files are copied, etc etc etc.
 
Old 09-06-2008, 02:34 PM   #3
maskiepop
Member
 
Registered: Jul 2008
Posts: 34

Original Poster
Rep: Reputation: 15
Thanks pinniped.

Your suggestions are good, but probably way beyond what I can do. I am new to Linux/ubuntu. Very. I may be asking too much, perhaps?

This is what bugs me: the cli of the non-admin users I have defined -- I can't use the up/down arrow to retrieve the previous commands I have given. I can do it if I am logged on as admin, but not as a non-admin user.

I am hoping I can copy something from the .bashrc of the admin user, but I don't know what it is. I did see that the admin user has a .profile whereas the non-admin users don't.

The prompts in the cli for the admin and non-admin users differ as well.

Right now, I'd be happy if I can get these features -- the same prompts to appear and the ability to retrieve previous commands with the up/down arrow keys -- in the cli of non-admin users. And I hope these are simple codes.

Thanks
 
Old 09-06-2008, 05:54 PM   #4
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
Maybe each user simply has to create the file (I don't know if it's created when the file doesn't exist):

cd
touch .bash_history

If that doesn't work, try:
set -o history -- if this works then you need to add this line to .bashrc
 
  


Reply

Tags
config, desktop


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Configuring users for NFS on an heterogeneous network crisostomo_enrico Solaris / OpenSolaris 2 08-24-2007 02:03 AM
Thunderbird:- configuring multiple users micker Linux - Software 3 11-13-2006 03:50 PM
how to create users after configuring sendmail laeeq38 Linux - General 1 07-30-2006 07:04 AM
configuring sendmail for external users spiderman59 Linux - Networking 3 07-06-2006 03:12 AM
Configuring SUDO for users, a.k.a. sudoers Micro420 Linux - Newbie 10 04-21-2006 11:12 PM


All times are GMT -5. The time now is 01:05 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration