Red Hat :: Setting A Custom PS1 For Users?
Sep 7, 2010
I have a custom PS1 that I would like to use for my user account however when I view my users .bashrc file, there is no line entry there for 'PS1='. Can someone please tell me if I have my own custom user PS1 line entry, where do I place it so I can have some extra function and colors in my RHEL 5 system.
View 4 Replies
ADVERTISEMENT
Oct 24, 2009
Basically the computer will have to do nothing other than run some custom software that interfaces with the vehicle's systems via a USB FDTI board and render to an 8" touch screen via OpenGL. User input will be via the said touchscreen, and audio output will eventually come into the equation. The target vehicle(s) will be extensively modified for the project, and I'm hoping the software will eventually override features such as the immobiliser, so an extremely fast boot time will be essential.
I have one of those Via C7 fully integrated mini ITX motherboards, much of the onboard hardware will be useless besides two USB ports and a SATA port, so could be completely removed from the kernel if necessary to achieve a fast boot. If some BIOS hacking is required I'd happily look at that too. I'm a recently graduated software engineer, and can comfortably use Linux (I'm using openSUSE for developing the software) but don't have a clue where to start with the OS; if I should be downloading and modifying an existing distro or trying to build one from scratch somehow?
View 4 Replies
View Related
Mar 18, 2011
I have ubuntu 10.10 installed on my computer in dual boot with windows 7, but i am using a 27-inches Samsung screen through an hdmi cable to connect my computer. whenever i try getting on ubuntu, i cannot see the top and bottom of the desktop (so i cant access the menu bar or anything!)(while using my spare vga cable) i tried downloading the nvidia driver & utility for my video card (gtx 460), but even using that, i could not setup my screen resolution manually. When i setup my windows, i was able to manually setup a custom resolution (i.e. 1842x1026) through the nvidia utility to be able to get the screen the fit properly.
I was wondering if there is any way i could do the same for ubuntu, perhaps through terminal.
View 6 Replies
View Related
Apr 30, 2011
I'm trying to set the default apps using gnome-default-applications-properties. In previous versions I was able to set custom apps for everything. Looks like Gnome3/Ubuntu 11.04 doesn't let me do that for, say, the mail reader. I'm one of those people who still use Alpine, and in previous versions I was able to set the default to run an xterm (well, aterm) which auto-ran alpine.
This version, looks like that's not there. I'm wondering if there's a way to set that anyway. like registering a script I write as a "mail client" so it's available in the chooser. Second... and almost MORE annoying... the "Terminal Emulator" default app DOES have a custom option. But it also recognises that I have aterm installed, which I want to use as the default app... however, since it has an aterm option, it won't let me enter aterm as a default command. Which I want to do because I want to modify the commandline options. But if you choose "Custom" and type "aterm" into the Command field... it ERASES your commandline options and puts it's default sterm options in!
View 6 Replies
View Related
Jul 17, 2011
I'm having difficulty setting custom ls colors in xterm. If I understand it right one can edit the system-wide file located in /etc/DIR_COLORS to modify every terminal or customize xterm; I chose xterm mostly because the other terminals I never use. Here is my .bash_profile and .bashrc respectively:
if [ -f ~/.bashrc ]; then
source ~/.bashrc
fi
if [ -f /etc/bashrc ]; then
source /etc/bashrc
fi
alias ls='ls --color -F'
PS1='[e[1;32m][u@h:w]$[e[0m] '
When I use the login shell, the colors are different than xterm in that they are not as bright; furthermore, I marked out bold fonts in .Xresources:
!xterm colors
xterm*foreground: #d3d3d3
xterm*background: #000000
xterm*boldColors: false
xterm*cursorBlink: true
xterm*cursorColor: white
xterm*loginShell: false
xterm*faceName: Liberation Mono
xterm*faceSize: 10
So, there must be a file around somewhere that is changing the colors between the interactive and login shells. Also,
man xterm:
color6 (class Color6)
color7 (class Color7)
These specify the colors for the ISO-6429 extension. The defaults are, respectively, black, red3, green3, yellow3, a customizable dark blue, magenta3, cyan3 and gray90. The default shades of color are chosen to allow the colors 8-15 to be used as brighter versions. How does that get anyone anywhere with setting the color? It doesn't say what color (class) is assigned to which file specifically, thus adhering to the distribution-wide color codes. Perhaps I am making this more difficult than it should be.
View 4 Replies
View Related
Jul 29, 2011
I am using the elementary gtk theme, but I wanted to have my gnome-panel have a set custom background, so I went into the 'gtkrc' and commented out "#include "Apps/panel.rc"". This worked perfectly but, the right click menus and drop down menus changed color which conflict with the icons that I am using.
View 1 Replies
View Related
Sep 23, 2009
I installed Fedora 11 on a server with 2 equal sized disks. I used the gui installer and didn't make custom setting changes to the partitions. One of the steps asked for me to choose the disks i wanted to use for this installation. I selected both disks and after the installation Fedora only sees one volume the size of both disks combined.Do I now have software raid0 or do I have something else?
View 3 Replies
View Related
Apr 2, 2010
I dont know were to begin to solve my problem and I have been googling for hours to get a hint without any success. I'm runnning a Counterstrike Server on my virtual openSuse server - I'm exploring so don't justify what I am hosting at the moment
I want to make it possible to gain access to the cstrike folde via a ftp login. But I really have no idea were to start. The server is also a webserver, where I can ass FTP accounts for my apache vhosts via plesk - but I dont think this is the solution of my problem, isn't it?
View 2 Replies
View Related
Apr 25, 2011
Is there a way that I can set a quota for all new users that get created? I want to limit the hard drive space they get. I don't want to have to keep setting each new users quota either.
I am running Ubuntu 10.4 LTS 64Bit
View 1 Replies
View Related
Sep 2, 2010
I am using Centos 5.4. sending e-mails through our network(LAN).i want to create a e mail address's for each user and wants to give facility to sending,viewing,replying & forwarding office e-mails
Note : we dont have a DNS server in our LAN.
View 2 Replies
View Related
Jan 30, 2010
What steps have to be followed for having customized contents of PATH environment variable whenever new users are created? I require this in order to include a special directory into PATH variable; and this has to be a default one for all the newly created users.
View 3 Replies
View Related
Dec 22, 2009
setting up multiple (2-3) FTP users on Ubuntu Server 9.04 I currently only have ONE FTP user, but I need to have 2.
View 1 Replies
View Related
Feb 17, 2011
I just know it has to be possible to let two users (since I have two kids) share the same PC at the same time using a 2nd graphic card, two displays, two keyboards, two mice. I have seen one 10 year old "how to" which just didn't seem like it would fly with today's XFree/DBUS/all USB setups.
Does anyone know how to do this? I would like each user to see a log in screen and log into a GUI desktop (it doesn't have to be KDE, but that is what we have been using). The MB and the video card use the same type of GPU. The PC has a dual core AMD, and 4 GB of RAM, so the resources should be fine for school work, KDE Educational software/games. Other than squid, there isn't particular server running on it either, so resources should not be an issue.
View 7 Replies
View Related
Jan 30, 2011
Ubuntu 10.10 Server is loaded. Openssh has been loaded.
I have multiple users which need access to server via ssh.
My impression from reading about ssh is that a key needs generated for each person. Thus, each key will have a passphrase that is unique to them.
In /etc/ssh/sshd_config, the default sshd_config suggest using:
%h/.ssh/authorized_keys
My assumption is %h is a variable that will allow the current user to use the public key stored in his home directory under the .ssh folder in a file called authorized_keys. Is their a command string that automatically populates the authorized_keys file?
I am surprised that even though there are a number of hidden (e.g. .****) files located in the home folder, there is not one automatically generated as .ssh. It appears I have to create that directory myself. I am especially surprised by this since it appears the instructions for generating a key seems to load the key in the home directory instead of proceeding to create a .ssh folder to store the keys in.
It is not clear, but it appears that the public key needs to be copied or appended to the authorized_keys file, but, using the scheme above, the public key needs to be copied or appended to each users authorized_keys file instead of appending all public keys to a single authorized_keys location.
It then appears that each persons authorized_keys file needs permissions set to 600.
It also appears that if I decide to use RSA instead of DSA, I would do the same thing above but would use authorized_keys2 file instead.
Why doesn't the home folder which gets automatically set up for each user automatically get a .ssh folder generated? i.e Why does it have to be created by hand? Does it need the same permission on the .ssh folder? ie 600?
My aim is to allow many to log on via ssh simultaneously and then allow many to simultaneously vnc into their respective gnome desktops.
View 6 Replies
View Related
Feb 25, 2010
I'm having trouble breaking down permissions in linux. Here's the scenario. I have two users: UserA & UserB with each having to ownership and access to directories myDirA and myDirB respectively.
UserA --> /source/myDirA
UserB --> /source/myDirB
I need to set the permissions so that userA can access myDirA and myDirB. There are other users and directories but they should not be able to view outside of their own directories (which is the way it is now). I don't have groups set up for them and I'd rather not change anything else but just the permissions.
rwxr_x_r_x UserA
rwxr_x_r_x UserB
They're read/write/exec permissions are identical.
View 14 Replies
View Related
Jun 10, 2009
In our organization there are around 1000+ users are using mails. The mailing system is implemented under RHEL using postfix and dovecot. For user based quotas i have implemented Disk Quota. But the problem when i want to edit quota for multiple users with similar limits i'm doing "edquota user" for every users. It seems very difficult. Now I wanna know:
1. Is there any way to edit quota value for multiple users at a single shot?
2. Also there is any method to send alerts mail to the end users on disk utilization?
View 3 Replies
View Related
Dec 29, 2008
We have users that send files to our server via sftp... We normallyhave umask set to 022 but for these files we would like to force a umask of 002... I've tried to change in the .bash_profile but does not seem to make any difference...
View 1 Replies
View Related
Nov 26, 2010
I am searching for a way to have multiple sessions or users on the same vnc server. I have a machine that I need to remotely access as root (for admin purposes) and as myself (as the normal user) the rest of the time. I probably will never have to remotely login at the same time as both root and myself (I am not that multitasking!)I searched the web for almost 1 hour without finding anything useful... Right now my /etc/rc.d/rc.vncservers.conf looks like:
[code].....
View 2 Replies
View Related
Feb 16, 2010
how to lock down individual users from setting a proxy server. Its a server not a WS so it should never go to the internet. I want to lock down the system side and firefox 5 settings.
View 14 Replies
View Related
Sep 1, 2010
I would like a pointer to a script or utility I could use to enable me to backup all users on my current installed system and then use this data to automatically setup all these users on another system (could be a fresh installed system) basically port all users. additional features that would be nice to have
-backup passwords
-home directory or more specifically www web directory
-database backup.
View 2 Replies
View Related
Jan 11, 2010
It seems that karmic has changed the behavior of Gnome's cpufreqselector, so that it requires root authority to make changes, and those changes don't persist after a reboot.
Is there a way to make changes persistent? Is there a way to let admin users change the setting without having to enter a password every time?
View 1 Replies
View Related
Jun 8, 2011
Whenever I login or restart the computer, my resolution gets reset. I think it may have to do with my setup being connected to a 18.5" HDTV. Is there a way to set custom resolutions in the OS, so that Nvidia and OpenSUSE can recognize them?
03:00.0 VGA compatible controller [0300]: nVidia Corporation ION LE VGA [10de:087e] (rev b1)
Subsystem: Acer Incorporated [ALI] Device [1025:0222]
Kernel driver in use: nvidia
View 1 Replies
View Related
Oct 18, 2010
Im an IT manager for a small company with a small ammount of users. We already use linux for our data server and I would like to implement a domain controller. All of our user machines are WIndows XP pro.
Ive been reading up on using OpenLDAP as an alternative to active directory.
What I want is just a simple active directory like server, with a GUI if possible.
What do I need to look at and how would I go about setting this up? Im fairly proficient with Ubuntu already, I just need to be pointed in the right direction.
Is it even possible to have my windows users be able to log in to their machines using an ubuntu domain controller?
View 1 Replies
View Related
Dec 28, 2009
Just spent three whole days barking up the wrong tree, solving Fedora 11 and Fedora 12 boot failures because the correct hypothesis was illogical: installation did not update/modify the initrd.
The first couple of times I installed Fedora 11 on the HighPoint Technologies RocketRaid 2640x4, the installation inserted my "custom" driver module (rr26xx) into the initrd, permanently, so that the system booted off the controller card for which the custom driver was inserted. (I yelled about this success in this thread: [url]
My most recent installs of BOTH F11 and F12 on the RocketRaid failed to properly set up the boot. It turns out that the "rr2640" module I "slipstreamed" into the installation process was *NOT* permanently added to the initrd by anaconda. (F12 gave me "no root device found boot has failed, sleeping forever", on boot; F11 hung also, without such error, I presume, during the init script execution). Because of limited resources and time, I only know for sure the module was missing from the F11 initrd, and am ASSUMING the same was the case with F12.
The only difference between the successful installs and the ones with failed boot is that the successful installs were made on a single-drive (JBOD) mode on the controller; whereas, the failed ones were placed on RAID 5. But, AFAIK, the created logical device for the card is "/dev/sda", in both cases, and the kernel can not distinguish between the two cases (or can it?). Thus, the inconsistency cost me a lot of time, and is still inexplicable to me.
Question: What is the best way to deal with custom drivers, today? There are custom spins, and many tools, like isomaster. Stupid question: Is there a way to modify the initrd inside an installer ISO -- be it for CD/DVD/USBboot drive -- beefing the init RAM disk with whatever modules you'd like, for the boot process (using, say, isomaster)?
And what makes anaconda understand that a module must be added to the initrd ? How can one force anaconda to do so?
How does moving to dracut as the initrd tool affect any/all of the above?
View 1 Replies
View Related
Dec 19, 2010
How to created users in pureftpd and the users are stored in mysql database. I tried when i try to connect i got like this error authentication failed error
View 1 Replies
View Related
Jun 28, 2009
script which can add a secondary group to all existing users except system users in linux.
View 5 Replies
View Related
Sep 29, 2010
Samba up and running on my pc. pc runs FC12 with kde. A laptop has win vista. The pc can access the shares on the laptop but the laptop has authentication issues to access the pc. Note that windows doesnt enforce authentication forincoming network connections.Using the system-config-samba util i tried to map a windows user to the unix user "feduser". The laptop (named LAPPY) has a user (lapuser) which has on windows no password.What should I tell samba config what the windows username should be? lapuser or LAPPYlapuser doesnt work because when accessing the pc via the laptop, the authentication fails. The only auth that is successful is when choosing the same winusername as the unix username.
Secondary, id like to setup the laptop so that the user doesnt have to provide a name and password, or at least not more then once in the lifetime of the laptop. Note that you cant provide an empty password to system-config-samba. How is that possible?
Strange but not really on issue imho:the samba - KDE control module(kcmshall4) (and the smb.conf) shows 2 shares: the homedirs and the data dir the samba server configurator (system-config-samba) shows only the datadir.
View 3 Replies
View Related
Jul 11, 2009
I work as an system administrator for AIX and Linux servers. We have an FTP server running in Linux which has shared folders to Windows domain using Samba. The new requirement is to map users created to Linux machine to Windows users in such a way that, when a user logins into Windows machine with an ID say "X123" in domain "TEST", his access control to the samba shares should reflect based on the same user ID created in Linux machine.(FYI. Both the Windows and LINUX machines are in same network and domain). Please let me know the step by step procedure to configure Linux machine (smb.conf entries or any new file to be created for user mapping) to identify Windows user Login and provide access restrictions accordingly.
View 1 Replies
View Related
Jun 24, 2009
Is it possible to have a folder on user A's GroupWise mailbox that user B can access with as much permisions as user A but user B cannot access the rest of user A's mail?
View 2 Replies
View Related
Jun 7, 2010
Is it possible to map a remote user to a local user in SSH? The object is to avoid using $ssh user@server and instead just do $ssh server instead.
View 4 Replies
View Related