Fedora :: Bash_profile For ALL Users?

Oct 27, 2009

There are things that I want to have for all my users.For example, I want to set the java_home, the PATH, I want to mount a drive, etc ...I understand there is a .bash_profile file that does that, but it seems I need to copy the code for all users every time.Is there some kind of MASTER file that sets all those things before running the individual profile files?

View 3 Replies


ADVERTISEMENT

Fedora :: .bash_profile Is Sourced Rather Than .bashrc?

Jan 17, 2010

I am curious since "Run command as a login shell" is UNTICKED (I think for all new users) under Gnome Terminal -> Menu Bar -> Profiles -> Edit -> Title and Command , BUT .bash_profile is sourced. I thought .bashrc should be sourced instead ?

View 6 Replies View Related

Fedora Networking :: Mapping Windows Users On Unix Users

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

Fedora :: Mapping Remote Users To Local Users In SSH?

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

Red Hat / Fedora :: History Of All Sudo Users And All Root Users In F13?

Jan 18, 2011

How can i see history of all sudo users and all root users in fedora 13 ? history command only shows one users history ?

View 5 Replies View Related

Ubuntu :: How To Edit The .bash_profile

Mar 10, 2011

I have just started using ubuntu and use the terminal a lot.I would like to edit it(blue username).I have tried changing the .bash_profile file, but my changes do not seem to affect it.I also added an alias to bash.bashrc but my computer started looping at login I reinstalled. I dont know if that caused it (I doubt it, but I didnt do anything else, though undoing it didnt work). what to put in the .bash_profile file. It is currently blank, and nothing I add seems to work (using online tutorials).Using ubuntu 10.10 (netbook) and normal - I would like to edit the netbook edition, though I thought they would be the same.

View 2 Replies View Related

General :: .bash_profile Not Loading ?

Apr 1, 2010

Whenever I reboot my fedora core 12 box I find that my .bash_profile does not load... I have to issue source ~/.bash_profile

How do I get this to load automatically each time?

View 14 Replies View Related

General :: .bash_profile Not Activated On Login?

Oct 27, 2010

I have loaded oracle 10g. I have made a shell namely Menu and copied it inside the /home/oracle directory. In the .bash_profile, entry has been made sh ./Menu. I want to execute this Menu whenever I login as oracle user.My system does not executeell. However, I am able to activate this shell by typing sh ./Menu from $ prompt

View 2 Replies View Related

General :: Bash_profile [ Unexpected End Of The File ]?

May 18, 2011

I'm trying to edit the bash_profile but I'm getting this error."/.bash_profile: line 46: syntax error: unexpected end of the file"Here is my bash_profile.

# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then

[code]....

View 3 Replies View Related

General :: Sysdate Setting In Bash_profile?

Mar 29, 2010

this is my situation,I'm taking backup for some files in that i need to append the sysdate so that i can easily identify which file has to restore at some point,I've tried the following In my bash_profile(RHEL4)

Code:
SYSDATE=`%d/%m/%Y`
export SYSDATE

i tried after relogin to another terminal ,but when i give the following command

Code:
[malick@home ~]$ echo $SYSDATE
[malick@home ~]$ source ~/.bash_profile
bash: fg: %d/%m/%Y: no such job

I don't know what to do ,once the sysdate is set i can add that element to my script where it takes the back up

View 2 Replies View Related

General :: Unable To Find .bash_profile

Dec 13, 2010

I have installed oracle11g R2 on ubuntun 10.04, upon completing I need to set the profile with environment variables but, could not locate the .bash_profile

View 11 Replies View Related

CentOS 5 :: Executing Bash_profile Everytime?

Jul 21, 2010

I have installed Centos 5 for Oracle on my PC. I observe that everytime I have to execute .bash_profile. Otherwise I get command not found message.How to change this behaviour so that it executes automatically everytime I open a new terminal or a tab.The bash_profile is as follows. I notice that the same entry is in another Centos 5 installation in another PC, But I don't have to executeeverytime the bash_profile .

# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then

[code]....

View 1 Replies View Related

General :: Edit The .bash_profile Being A Normal User In Red Hat?

Feb 18, 2011

I have installed Oracle Database server in Red Hat Linux for the first time. I edited the .bash_profile first time & defined some parameters like "export ORACLE_SID =orcl".I quit the editing. Then When I entered ". .bash_profile" it got error " not a valid identifier" it shows like "bash: export: '=orcl' : not a valid identifier for all the lines I edited it shows same error beacause I think I put a space in between "ORACLE_SID" & "=orcl".

So when I tried to edit that using "vi .bash_profile" being a normal user. It doesn't allow me editing.when I try to delete that space (because I think I have got error) using Backspace key on my computer,,it just moves the cursor to left in stead of deleting that space.

View 5 Replies View Related

General :: Slackware 13.0 ~/.bash_profile Not Running At Login?

Jan 29, 2010

I'm logging in as a user at run level 3.I have my .bash_profile in my home directory

Code:
if [ -f ~/.bashrc ]; then
source ~/.bashrc

[code]....

View 8 Replies View Related

General :: Where To Write JAVA_HOME? In .bashrc Or In .bash_profile

Feb 9, 2010

Where to write JAVA_HOME? In .bashrc or in .bash_profile? What's the difference?

View 1 Replies View Related

CentOS 5 :: .bash_profile Contents Of Root To Pass?

Jun 18, 2010

I lost my root .bash_profile. Have anyone, the .bash_profile contents of root to pass me?

View 3 Replies View Related

General :: Setting JAVA_HOME In .bash_profile Doesn't Work

Apr 15, 2009

I have some Flex and Java files which can be compiled with JDK1.5. My server was already loaded with 1.4 (at path /usr/bin/java) and our sys admin(I dont know why) copied another JDK, JDK 1.5 at path /usr/java/jdk1.5.0_16/. It seems very easy to use this java. Just set the path in .bash_profile. I did it and now if I run which java I still see the path for java 1.4 not java 1.5. Am I doing something wrong? Following is actual entry from bash_profile

Code:
PATH=$PATH:$HOME/bin
PATH=/usr/java/jdk1.5.0_16/bin:$PATH
JAVA_HOME=/usr/java/jdk1.5.0_16/
export PATH JAVA_HOME

View 3 Replies View Related

General :: Errors In .bash_profile And Startx Does Not Load Automatically?

Sep 4, 2010

I have installed Damn Small Linux on an old laptop.very boot reports that the SSH has loaded as I have configured it to do so but does not load startx as instructed in .bash_profile.After bootup, the following is reported by the system.-bash: /home/dsl/.bash_profile: line 12: syntax error: unexpected end of fileThis is the content of the .bash_profile

#!/bin/bash
export IRCNICK=DSL
export DISPLAY=:0

[code]....

View 1 Replies View Related

General :: -bash: /home/rb27/.bash_profile: Permission Denied

Sep 9, 2011

I have tried changing permissions and I have looked for a solution, but the error still exists.In fact it gives me a different error every time I log in.

Could not chdir to home directory /home/rb27: Permission denied

here is a snippet of what I get when I use the command ls -al:

drwxr-xr-x 16 root root 0 Sep 8 18:28 .
drwxr-xr-x 23 root root 4096 Feb 5 2011 ..
d????????? ? ? ? ? ? ajd74
d????????? ? ? ? ? ? ban45
d????????? ? ? ? ? ? rb27

I cannot log in as root since the permission is denied

View 1 Replies View Related

Slackware :: .bash_profile, "-bash: export: Command Not Found"?

Dec 31, 2010

I was trying to get rid of qtconfig's error message "QGtkStyle was unable to detect the current GTK+ theme.".

So I created the file ~/.gtkrc-2.0 with this content:

Code:
gtk-theme-name="Xfce"
Then I had to read this file after logging in (or at least, when I start X. So I created a ~/.bash_profile file with the following line:

Code:
export GTK2_RC_FILES="$HOME/.gtkrc-2.0"
When I now login, I get this message:
Code:
-bash: export: command not found
Any idea what could cause this problem?

I am running Slackware 13.1.

View 3 Replies View Related

Programming :: Lost Gcc .bash_profile Paths - Error: "stdio.h: No Such File Or Directory Gcc Was Installed And Configured Correctly"

May 5, 2010

I tried compiling a simple Hello World with gcc but didn't have any luck. I got this message: Code: junk.c:1:19: error: stdio.h: No such file or directory gcc was installed and configured correctly at one point but I think I changed the the .bash_profile since then. I checked where stdio.h lives. The path is:

[Code]....

View 2 Replies View Related

General :: Created Users In Pureftpd And The Users Are Stored In Mysql Database?

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

Server :: Script To Add A Secondary Group To All Users Except System Default Users?

Jun 28, 2009

script which can add a secondary group to all existing users except system users in linux.

View 5 Replies View Related

Software :: Mapping Linux Users With Widows Users Using Samba

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

SUSE / Novell :: 2 Users Acces 1 Folder In 1 Users Mailbox?

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

Ubuntu Servers :: Add Windows & Mac Users As Samba Users?

Nov 23, 2010

If I want to add Windows & Mac users as Samba users, must I first add them all as Ubuntu users? If so, since none of the other users will actually be working on the Ubuntu Server, how do I disable the other non-admin users on the Ubuntu Server login screen. I am using Webmin to administer some server settings, and command line for others.

View 3 Replies View Related

Ubuntu Networking :: DHCP Only For Authenticated Users(AD Users)?

Apr 4, 2011

i have a Domain Cotroller installed on Windows & DHCP Server installed on Ubuntu. i want to give access only authenticated Users(Active Directory Users) can get IP from DHCP. No one else canis there any option available here in DHCP ???

View 2 Replies View Related

Ubuntu :: How To Map Domain Users To Local Users Group

May 27, 2011

how to map all domain users form group Domain Users to local group users (and maybe some more)? Im using Ubuntu 10.04 x32. Its connected to my domain using Samba and Winbind, I can login using my domain credentials, automatically map user folder form DFS server, but I think that domain users have too much priviledges in the system and want to restrict them as much as possible

View 2 Replies View Related

General :: Only Limited Users Should Login In NIS (not All Nis Users) RHEL 5.4?

Aug 1, 2011

i have a NIS master server and 4 NIS clients. out of 4 nis clients two are acting as login servers ie users will login and do all their stuffs and the remaining two are application servers. But sometimes users login into applications servers and started doing all their developer's job. i want to allow only a limited number of users tointo this application users not all the users who are all part of the nis domain.all the systems are running RHEL 5.4 on hp's proliant x86_64 based servers. Please advice me how should i proceed? enabling ip tables is not possible in my environment.

View 1 Replies View Related

General :: Vsftp - Some Users See Files - Some Don't - But All Users Are In Same Group

Jan 18, 2010

When I have different people log into our ftp and browse to the same folder, some people see the files inside, some don't. all the user accounts are in the same group, which has permission to this folder. but the one user who can see the files is the owner. how can i fix it so everyone in that group who's the owner of the folder can see the files?

View 10 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved