I was trying to set the PATH for a user to include some extra dirs (like
/sbin, /usr/local, etc.) so I don't have to type sudo /sbin/halt anymore.
;-)

Unfortunately, I can't seem to find an appropriate file to edit on Slackware
9.0 (or 8.1 for that matter) to make it automatic for any particular user
(i.e. .bash_profile).

Luckily for me, I once again have Slackware installed on my laptop (it's
been over a year!) so I will be able to check on these things much quicker
(and hence hopefully have more knowledgeable replies!).  :-)

I'm sure there's the issue of filesystem permissions I haven't checked into
yet, either.  I imagine it could be as simple as chgrp wheel on the
appropriate directories (given user is in wheel group)?

Curtis.

-----Original Message-----
From: Jeffrey Clement [mailto:[EMAIL PROTECTED]
Sent: March 31, 2003 2:38 PM
To: [EMAIL PROTECTED]
Subject: Re: (clug-talk) [support] How to give users read-write access
to mounted FAT32 partitions?


> I was wondering if creating a bash_profile file would work or not, then
> realized it mattered not since I didn't know what to put in it, anyway.
Now
> I do.  :-D

Bash profile goes in each users home directory.

/home/$USER/.bash_profile

The .bash_profile is only read on your Login shell.  After that it uses

/home/$USER/.bashrc
 
> I already modified /etc/profile, but it only seems to work for root and
not
> the user account.

I missed previous conversations but what are you setting?  It may be you
already have a bashrc / profile entry that is overriding whatever it is
you are setting.

Reply via email to