[Bio-linux-dev] Bio-Linux 6 Beta 1 release
Tony Travis
a.travis at abdn.ac.uk
Mon May 10 10:31:15 EDT 2010
On 10/05/10 13:07, Tim Booth wrote:
> [...]
> % sudo bash
> # umask
>
> You should get the result "0022". This also applies to gksu. So could
> you please confirm that this is the result on your machine and, if so,
> where you are seeing the more restrictive umask being applied.
Hello, Tim.
I normally use "sudo -i", which simulates a root login:
> manager at topcat[/manager] sudo bash
[ 3:17PM]
> root at topcat:~# umask
> 0022
> root at topcat:~# exit
> manager at topcat[/manager] sudo -i
[ 3:17PM]
> root at topcat:~# umask
> 0077
I've copied /etc/skel/.profile to /root/.profile and modified it to
override the default umask and added /opt/local/[s]bin to the PATH:
root at topcat:~# diff -Naur /etc/skel/.profile /root/.profile
--- /etc/skel/.profile 2010-04-19 03:15:58.000000000 +0100
+++ /root/.profile 2010-05-10 15:20:51.086746274 +0100
@@ -6,7 +6,7 @@
# the default umask is set in /etc/profile; for setting the umask
# for ssh logins, install and configure the libpam-umask package.
-#umask 022
+umask 022
# if running bash
if [ -n "$BASH_VERSION" ]; then
@@ -20,3 +20,5 @@
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi
+
+PATH=$PATH:/opt/local/sbin:/opt/local/bin
> [...]
>> The dual head nodes of our Beowulf are now running Bio-Linux 6 :-)
>
> Nice one. I hope your users like the new system.
They can't get in yet - NIS and the automounter are not quite ready, but
should be running by tomorrow.
Bye,
Tony.
--
Dr. A.J.Travis, University of Aberdeen, Rowett Institute of Nutrition
and Health, Greenburn Road, Bucksburn, Aberdeen AB21 9SB, Scotland, UK
tel +44(0)1224 712751, fax +44(0)1224 716687, http://www.rowett.ac.uk
mailto:a.travis at abdn.ac.uk, http://bioinformatics.rri.sari.ac.uk/~ajt
More information about the Bio-linux-devel
mailing list