Re: chroot: can't execute command "/bin/bash": No such file or directory

2023-06-18 Thread Jeffrey Walton
o chroot within it : > > root@marietto-Z87-HD3:/home/marietto/Scrivania/Chromebook/linux-distros# > chroot ./jessie-armhf /bin/bash > > it gives the following error : > > chroot: can't execute command "/bin/bash": No such file or directory Omit the interpreter: #

Re: chroot: can't execute command "/bin/bash": No such file or directory

2023-06-18 Thread Tim Woodall
On Sun, 18 Jun 2023, Mario Marietto wrote: Hello. with qemu works,but I thought that it was better to avoid the usage of qemu. I'm a bit puzzled what you're trying to do. if you want to chroot on an amd64 machine then you have to use something like qemu to emulate the armhf processor. If yo

Re: chroot: can't execute command "/bin/bash": No such file or directory

2023-06-18 Thread Tim Woodall
I try to chroot within it : root@marietto-Z87-HD3:/home/marietto/Scrivania/Chromebook/linux-distros# chroot ./jessie-armhf /bin/bash it gives the following error : chroot: can't execute command "/bin/bash": No such file or directory but I see the file bash within the d

Re: chroot: can't execute command "/bin/bash": No such file or directory

2023-06-18 Thread Mario Marietto
debian.org/debian <http://archive.debian.org/debian> >> > >> > and it worked ok,but when I try to chroot within it : >> > >> > root@marietto-Z87-HD3:/home/marietto/Scrivania/Chromebook/linux-distros# >> >> > chroot ./jessie-armhf /bin/bash &

Re: chroot: can't execute command "/bin/bash": No such file or directory

2023-06-18 Thread Mario Marietto
http://archive.debian.org/debian <http://archive.debian.org/debian> > > > > and it worked ok,but when I try to chroot within it : > > > > root@marietto-Z87-HD3:/home/marietto/Scrivania/Chromebook/linux-distros# > > > chroot ./jessie-armhf /bin/bash &g

Re: chroot: can't execute command "/bin/bash": No such file or directory

2023-06-18 Thread Eduardo M KALINOWSKI
bian.org/debian> and it worked ok,but when I try to chroot within it : root@marietto-Z87-HD3:/home/marietto/Scrivania/Chromebook/linux-distros# chroot ./jessie-armhf /bin/bash it gives the following error : chroot: can't execute command "/bin/bash": No such file or directory

Re: chroot: can't execute command "/bin/bash": No such file or directory

2023-06-18 Thread Darac Marjal
bian.org/debian> and it worked ok,but when I try to chroot within it : root@marietto-Z87-HD3:/home/marietto/Scrivania/Chromebook/linux-distros# chroot ./jessie-armhf /bin/bash it gives the following error : chroot: can't execute command "/bin/bash": No such file or directory

chroot: can't execute command "/bin/bash": No such file or directory

2023-06-18 Thread Mario Marietto
7-HD3:/home/marietto/Scrivania/Chromebook/linux-distros# chroot ./jessie-armhf /bin/bash it gives the following error : chroot: can't execute command "/bin/bash": No such file or directory but I see the file bash within the directory /bin of the debootstrapped directory called

Re: Unable to su as a user, I get: Cannot execute /bin/bash: Permission denied

2008-02-27 Thread Brad Rogers
On Wed, 27 Feb 2008 15:34:27 -0500 "Michael Habashy" <[EMAIL PROTECTED]> wrote: Hello Michael, > Just curious...do you know any other way to reset the base components > of debian?? As root, dpkg-reconfigure should help you do what you want. If you fear your system has been compromised, reconfig

Re: Unable to su as a user, I get: Cannot execute /bin/bash: Permission denied

2008-02-27 Thread Michael Habashy
thanks for the reply. Just curious...do you know any other way to reset the base components of debian?? i.e. xdm,gdm,kde and etc... thanks mjh On Tue, Feb 26, 2008 at 4:19 PM, Jamin Davis <[EMAIL PROTECTED]> wrote: > Michael Habashy wrote: > > > I do not want to kill this to death but..on a good

Re: Unable to su as a user, I get: Cannot execute /bin/bash: Permission denied

2008-02-26 Thread Jamin Davis
Michael Habashy wrote: I do not want to kill this to death but..on a good system: mach1:/bin# ls -l bash -rwxr-xr-x 1 root root 769368 2006-12-11 17:28 bash No one knows how to force a fresh copy of the base debian setup?? with overly impacting my present system ??? to take care of the xwindow

Re: Unable to su as a user, I get: Cannot execute /bin/bash: Permission denied

2008-02-26 Thread Michael Habashy
please??? mjh On Mon, Feb 25, 2008 at 10:57 PM, Rich Healey <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Michael Habashy wrote: > > sorry..i lost you on that...you think that someone changed the > permissions > > on /bin/ba

Re: Unable to su as a user, I get: Cannot execute /bin/bash: Permission denied

2008-02-25 Thread Rich Healey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael Habashy wrote: > sorry..i lost you on that...you think that someone changed the permissions > on /bin/bash ??? > they are set to 766 to root.root > > can you try to phrase things differently ??? > thanks > mjh > >

Re: Unable to su as a user, I get: Cannot execute /bin/bash: Permission denied

2008-02-25 Thread Michael Habashy
ECTED]> > wrote: > > I am logged in as root, and i try to su as a user : user1 ; I get the > > following > > error: > > > > rmachine:/home/user1/Maildir/cur# su user1 > > > > Cannot execute /bin/bash: Permission denied > > > Hi, > I'

Re: Unable to su as a user, I get: Cannot execute /bin/bash: Permission denied

2008-02-25 Thread Michael Habashy
sorry..i lost you on that...you think that someone changed the permissions on /bin/bash ??? they are set to 766 to root.root can you try to phrase things differently ??? thanks mjh On Mon, Feb 25, 2008 at 10:10 PM, Rich Healey <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNE

Re: Unable to su as a user, I get: Cannot execute /bin/bash: Permission denied

2008-02-25 Thread Rich Healey
dm package, i am left iwth kde ---when i login in with > that...i get an xterm window pop up and it states the same thing : Cannot > execute /bin/bash: Permission denied > > it is driving me up a wall. > > thanks..for any help... > mjh > > On Mon, Feb 25, 2008 at 6:11

Re: Unable to su as a user, I get: Cannot execute /bin/bash: Permission denied

2008-02-25 Thread Michael Habashy
the same thing : Cannot execute /bin/bash: Permission denied it is driving me up a wall. thanks..for any help... mjh On Mon, Feb 25, 2008 at 6:11 PM, Jeff D <[EMAIL PROTECTED]> wrote: > Nuno Magalhães wrote: > >> Cannot execute /bin/bash: Permission denied > > > >

Re: Unable to su as a user, I get: Cannot execute /bin/bash: Permission denied

2008-02-25 Thread Jeff D
Nuno Magalhães wrote: Cannot execute /bin/bash: Permission denied Er... have you by any chance tried checking out the permissions for that file? It'll be executed by the user, not root. Try 766. That should probably be 755 , not 766, you really dont want /bin/bash writeable by anyon

Re: Unable to su as a user, I get: Cannot execute /bin/bash: Permission denied

2008-02-25 Thread Nuno Magalhães
> Cannot execute /bin/bash: Permission denied Er... have you by any chance tried checking out the permissions for that file? It'll be executed by the user, not root. Try 766. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: Unable to su as a user, I get: Cannot execute /bin/bash: Permission denied

2008-02-25 Thread Michael Habashy
I am logged in as root, and i try to su as a user : user1 ; I get the following error: rmachine:/home/user1/Maildir/cur# su user1 Cannot execute /bin/bash: Permission denied

Re: chroot: cannot run command `/bin/bash': No such file or directory

2007-08-21 Thread Gerard Robin
On Mon, Aug 20, 2007 at 02:19:49PM -0800, Ken Irving wrote: From: Ken Irving <[EMAIL PROTECTED]> To: debian-user@lists.debian.org Subject: Re: chroot: cannot run command `/bin/bash': No such file or directory Mail-Followup-To: debian-user@lists.debian.org X-Spam-Chec

Re: chroot: cannot run command `/bin/bash': No such file or directory

2007-08-20 Thread Ken Irving
On Mon, Aug 20, 2007 at 10:33:20PM +0200, Gerard Robin wrote: > On Mon, Aug 20, 2007 at 02:44:31PM -0400, Neil Watson wrote: >> On Mon, Aug 20, 2007 at 08:40:09PM +0200, Gerard Robin wrote: >>>> First post: >>>>> ldd /bin/bash >>>>&g

Re: chroot: cannot run command `/bin/bash': No such file or directory

2007-08-20 Thread Gerard Robin
On Mon, Aug 20, 2007 at 02:44:31PM -0400, Neil Watson wrote: From: Neil Watson <[EMAIL PROTECTED]> To: debian-user@lists.debian.org Subject: Re: chroot: cannot run command `/bin/bash': No such file or directory X-Spam-Checker-Version: SpamAssassin 3.1.4 (2006-07-26) on murphy.debian

Re: chroot: cannot run command `/bin/bash': No such file or directory

2007-08-20 Thread Neil Watson
On Mon, Aug 20, 2007 at 08:40:09PM +0200, Gerard Robin wrote: First post: ldd /bin/bash libncurses.so.5 => /lib/libncurses.so.5 (0x2b2d9014f000) libdl.so.2 => /lib/libdl.so.2 (0x2b2d9039b000) libc.so.6 => /lib/libc.so.6 (0x2b2d9059f000)

Re: chroot: cannot run command `/bin/bash': No such file or directory

2007-08-20 Thread Gerard Robin
On Mon, Aug 20, 2007 at 02:24:18PM -0400, Neil Watson wrote: From: Neil Watson <[EMAIL PROTECTED]> To: debian-user@lists.debian.org Subject: Re: chroot: cannot run command `/bin/bash': No such file or directory X-Spam-Checker-Version: SpamAssassin 3.1.4 (2006-07-26) on murphy.debian

Re: chroot: cannot run command `/bin/bash': No such file or directory

2007-08-20 Thread Neil Watson
On Mon, Aug 20, 2007 at 08:12:24PM +0200, Gerard Robin wrote: find /f: /f /f/bin /f/bin/bash /f/lib /f/lib/libncurses.so.5 /f/lib/ld-2.6.1.so /f/lib/libdl.so.2 /f/lib/libc.so.6 First post: ldd /bin/bash libncurses.so.5 => /lib/libncurses.so.5 (0x2b2d9014f000) libdl

Re: chroot: cannot run command `/bin/bash': No such file or directory

2007-08-20 Thread Gerard Robin
On Mon, Aug 20, 2007 at 02:01:07PM -0400, Neil Watson wrote: From: Neil Watson <[EMAIL PROTECTED]> To: debian-user@lists.debian.org Subject: Re: chroot: cannot run command `/bin/bash': No such file or directory X-Spam-Checker-Version: SpamAssassin 3.1.4 (2006-07-26) on murphy.debian

Re: chroot: cannot run command `/bin/bash': No such file or directory

2007-08-20 Thread Neil Watson
What does 'find /f' produce? -- Neil Watson | Debian Linux System Administrator| Uptime 2 days http://watson-wilson.ca -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

chroot: cannot run command `/bin/bash': No such file or directory

2007-08-20 Thread Gerard Robin
Hello, I have a problem to use chroot: I did: sudo -s mkdir /f mkdir /f/bin /f/lib cp /bin/bash /f/bin ldd /bin/bash libncurses.so.5 => /lib/libncurses.so.5 (0x2b2d9014f000) libdl.so.2 => /lib/libdl.so.2 (0x2b2d9039b000) libc.so.6 => /lib/

Re: Cannot execute /bin/bash: Permission denied

2006-03-21 Thread Xavier
David Jarvie wrote: > On Sunday 19 March 2006 18:47, Joey Hess wrote: >> David Jarvie wrote: >> > Permissions on root directories: all have as a minimum, 755. /tmp/ >> > and /var/tmp have 777. >> >> Have you checked the permissions of / ? Having it not world readable can >> definitly cause this pr

Re: Cannot execute /bin/bash: Permission denied

2006-03-19 Thread Joey Hess
David Jarvie wrote: > Ah! So obvious when you think of it - yes, that was the cause. But why the > permissions should have changed, I have no idea. Often caused by untarring something in the wrong place. -- see shy jo signature.asc Description: Digital signature

Re: Cannot execute /bin/bash: Permission denied

2006-03-19 Thread Michael Spang
David Jarvie wrote: >On Sunday 19 March 2006 18:47, Joey Hess wrote: > > >>David Jarvie wrote: >> >> >>>Permissions on root directories: all have as a minimum, 755. /tmp/ >>>and /var/tmp have 777. >>> >>> >>Have you checked the permissions of / ? Having it not world readable can >>defi

Re: Cannot execute /bin/bash: Permission denied

2006-03-19 Thread David Jarvie
On Sunday 19 March 2006 18:47, Joey Hess wrote: > David Jarvie wrote: > > Permissions on root directories: all have as a minimum, 755. /tmp/ > > and /var/tmp have 777. > > Have you checked the permissions of / ? Having it not world readable can > definitly cause this problem. Ah! So obvious when y

Re: Cannot execute /bin/bash: Permission denied

2006-03-19 Thread Michael Spang
Joey Hess wrote: >David Jarvie wrote: > > >>Permissions on root directories: all have as a minimum, 755. /tmp/ >>and /var/tmp have 777. >> >> > >Have you checked the permissions of / ? Having it not world readable can >definitly cause this problem. > > That certainly would be problematic

Re: Cannot execute /bin/bash: Permission denied

2006-03-19 Thread Joey Hess
David Jarvie wrote: > Permissions on root directories: all have as a minimum, 755. /tmp/ > and /var/tmp have 777. Have you checked the permissions of / ? Having it not world readable can definitly cause this problem. -- see shy jo signature.asc Description: Digital signature

Re: Cannot execute /bin/bash: Permission denied

2006-03-19 Thread Michael Spang
> >Permissions on /home directories: all are owned by the respective user, and >have 755 permissions. > >Disk space: plenty of space on all volumes. > >Permissions on libraries used by /bin/bash: I did a 'ldd /bin/bash': >linux-gate.so.1 => (

Cannot execute /bin/bash: Permission denied

2006-03-19 Thread David Jarvie
user, and have 755 permissions. Disk space: plenty of space on all volumes. Permissions on libraries used by /bin/bash: I did a 'ldd /bin/bash': linux-gate.so.1 => (0xe000) libncurses.so.5 => /lib/libncurses.so.5 (0xb7f43000) libdl.so.2 =>

Re: [Way OT] "#!/bin/bash" changes working directory

2006-01-06 Thread Gilberto Villani Brito
cript, but when I run something like: > --- > #!/bin/bash > > echo $(pwd) > > I always get $HOME, not the current working directory. I'd need to > continue in the working directory from where the script was called to > work on the files there. (I'd

Re: [Way OT] "#!/bin/bash" changes working directory

2006-01-06 Thread Luis Finotti
Dear all, Roland wrote: /bin/sh exists for compatability with the legacy Bourne shell and does not provide bash-specific features. In APP 1 I had a ~bash_cmd_rc file with some output in the BASH_ENV, and it is ignored by /bin/sh, even if /bin/sh is a softlink to /bin/bash on my machine

Re: *** GMX Spamverdacht *** Re: [Way OT] "#!/bin/bash" ch anges working directory

2006-01-05 Thread Roland Müller
ince in the > Linux machines (where I had that problem) /bin/sh is a link to > /bin/bash, so I was expecting to see no difference with the change... > /bin/sh exists for compatability with the legacy Bourne shell and does not provide bash-specific features. In APP 1 I had a ~ba

Re: *** GMX Spamverdacht *** Re: [Way OT] "#!/bin/bash" ch anges working directory

2006-01-05 Thread Roland Müller
> --- Ursprüngliche Nachricht --- > Von: Luis Finotti <[EMAIL PROTECTED]> > You've got it: > > babbage[~/tmp]% echo $BASH_ENV > /home/finotti/.bashrc > > This is set in the default ".bash_profile" here (at work). I've never > changed it. So, that is not the usual case? What is the usua

Re: [Way OT] "#!/bin/bash" changes working directory

2006-01-05 Thread John Hasler
Luis writes: > /bin/sh is a link to /bin/bash, so I was expecting to see no difference > with the change... When called as sh bash attempts to be POSIX compliant. -- John Hasler -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: [Way OT] "#!/bin/bash" changes working directory

2006-01-05 Thread John Hasler
Luis writes: > That does answer my question, but it did not work, likely because I have > $BASH_ENV set to my .bashrc.. Why? -- John Hasler -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: [Way OT] "#!/bin/bash" changes working directory

2006-01-05 Thread John Hasler
Luis Finotti writes: > I have > ... < ... You have this in what file? Post all of whatever file it is in. -- John Hasler -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: [Way OT] "#!/bin/bash" changes working directory

2006-01-05 Thread Luis Finotti
as, like that line. So, I guess I'm trying to say "I have no idea". :-) I've commented it out for now... > Also, do you have the same problem if you use #!/bin/sh instead of > #!/bin/bash? You mentioned wanting to be portable, so that's a good idea > anyway

Re: [Way OT] "#!/bin/bash" changes working directory

2006-01-05 Thread Luis Finotti
Dear Michael, > You could change > > #! /bin/bash > > to > > #! /bin/bash --norc That does answer my question, but it did not work, likely because I have $BASH_ENV set to my .bashrc.. Thanks! Luis

Re: [Way OT] "#!/bin/bash" changes working directory

2006-01-05 Thread Luis Finotti
Hi Jan, Thanks for the reply again! > > open("/home/finotti/.bashrc", O_RDONLY|O_LARGEFILE) = 3 > > There it is. From the bash manpage I gather that a non-interactive > bash doesn't read _any_ startup files, except for any file that > is mentioned in the environment variable $BASH_ENV. Does this

Re: [Way OT] "#!/bin/bash" changes working directory

2006-01-05 Thread Wesley J. Landaker
your problem. What exactly are you trying to accomplish with this snippet? It certainly doesn't look like a normal thing to do. Also, do you have the same problem if you use #!/bin/sh instead of #!/bin/bash? You mentioned wanting to be portable, so that's a good idea anyway. -- Wes

Re: [Way OT] "#!/bin/bash" changes working directory

2006-01-05 Thread Michael Marsh
On 1/5/06, Luis Finotti <[EMAIL PROTECTED]> wrote: > Maybe is the issue with my .bashrc, as it's been pointed out... But > is there a way around it? You could change #! /bin/bash to #! /bin/bash --norc -- Michael A. Marsh http://www.umiacs.umd.edu/~mmarsh http://mamarsh.blogspot.com

Re: [Way OT] "#!/bin/bash" changes working directory

2006-01-05 Thread Luis Finotti
Dear Jan, > Hm, this is a bit redundant - it's not necessary to wrap pwd into > process substitution and echo the results... (...) Thanks for the comment! It was just something to show the change... > Besides, the snippet is procuding the desired result here ($pwd, not > $HOME). AFAICT, bash d

Re: [Way OT] "#!/bin/bash" changes working directory

2006-01-05 Thread Jan C. Nordholz
Hi Luis! > > strace -eopen bash -c "echo 'X'" > > Many repeated lines, but, after "uniq": > > open("/etc/ld.so.cache", O_RDONLY) = 3 > open("/lib/libtermcap.so.2", O_RDONLY) = 3 > open("/lib/libdl.so.2", O_RDONLY) = 3 > open("/lib/libc.so.6", O_RDONLY)= 3 > open("/dev/tty", O

Re: [Way OT] "#!/bin/bash" changes working directory

2006-01-05 Thread Luis Finotti
Dear Wesley, > The script you've shown works fine, just the way you want. Nothing in there > is going to change the working directory. > > For example: > > $ pwd > /home/wjl/tmp > $ cat <test.sh > #!/bin/bash > echo $(pwd) > EOF > $ chmod a+x test.sh &g

Re: [Way OT] "#!/bin/bash" changes working directory

2006-01-05 Thread Luis Finotti
Dear David, > Do you have some sort of "cd $HOME" type statement in your .bashrc or > .bash_profile or .profile file (or similar)? I have --- AUTOHOME=$PWD # Clean up stupid automounter directory case $PWD in $AUTOHOME*) cd $HOME${PWD#$AUTOHOME} ;; e

Re: [Way OT] "#!/bin/bash" changes working directory

2006-01-05 Thread Jan C. Nordholz
Hi! On Thu, Jan 05, 2006 at 02:25:10PM -0500, Luis Finotti wrote: > Dear all, > > I realize that this should be "way off topic", so sorry about that... > > I've been working on a bash script, but when I run something like: > --- > #!/bin/bash >

Re: [Way OT] "#!/bin/bash" changes working directory

2006-01-05 Thread Wesley J. Landaker
On Thursday 05 January 2006 12:25, Luis Finotti wrote: > Dear all, > > I realize that this should be "way off topic", so sorry about that... > > I've been working on a bash script, but when I run something like: > --- > #!/bin/bash > > ech

Re: [Way OT] "#!/bin/bash" changes working directory

2006-01-05 Thread David Kirchner
On 1/5/06, Luis Finotti <[EMAIL PROTECTED]> wrote: > Dear all, > > I realize that this should be "way off topic", so sorry about that... > > I've been working on a bash script, but when I run something like: > --- > #!/bin/bash > > ech

[Way OT] "#!/bin/bash" changes working directory

2006-01-05 Thread Luis Finotti
Dear all, I realize that this should be "way off topic", so sorry about that... I've been working on a bash script, but when I run something like: ------- #!/bin/bash echo $(pwd) I always get $HOME, not the current working directory. I'd need to con

/bin/bash /etc/rc2.d/S20xprint still running after boot

2005-08-03 Thread J. Grant
[Please include my email address in replies] Hi, I am using Sarge. Would it be expected for these 3 scripts to be still running 30mins after my computer started? root 3592 0.0 0.1 2744 1484 ?S19:05 0:00 /bin/bash /etc/rc2.d/S20xprint start root 3593 0.0 0.1 2744

Re: /bin/bash: cvs: command not found

2003-08-01 Thread Derrick 'dman' Hudson
On Fri, Aug 01, 2003 at 11:57:54AM -0700, Bill Moseley wrote: [need to add a directory to the path for a cvs-over-ssh session] | Now I assume that's becuase /home/foo/local/bin/cvs is not in the path. | I tried setting path in .bash_profile (and .bashrc) on the remote | machine but they don't seem

Re: /bin/bash: cvs: command not found

2003-08-01 Thread Eduard Bloch
t;>which cvs > /home/foo/local/bin/cvs > > $ cvs -d:ext:[EMAIL PROTECTED]:/home/foo/local/cvsroot co something > /bin/bash: cvs: command not found $ cat cvs-path # source this into your shell like this: # source cvs-path # # Hell, someone should forbid the university to

/bin/bash: cvs: command not found

2003-08-01 Thread Bill Moseley
o/local/cvsroot co something /bin/bash: cvs: command not found Now I assume that's becuase /home/foo/local/bin/cvs is not in the path. I tried setting path in .bash_profile (and .bashrc) on the remote machine but they don't seem to be read on a ssh connection. How do I get foo's PATH up

Re: init=/bin/bash not working with initrd?

2003-06-23 Thread Richard Heycock
On Mon, 2003-06-23 at 21:33, Carel Fellinger wrote: > Hai, > > when tonight I tried to boot into my system bypassing init I found to > my surprise that "init=/bin/bash" doesn't work anymore. Atleast not I know it works on a 2.5 kernel, I tried it (more than once :), t

init=/bin/bash not working with initrd?

2003-06-23 Thread Carel Fellinger
Hai, when tonight I tried to boot into my system bypassing init I found to my surprise that "init=/bin/bash" doesn't work anymore. Atleast not with kernel-image.2.4.20 and initrd. It still works with 2.2 kernels without initrd. Googling and searching the deb archives didn

Re: /bin/bash: Permission denied

2003-06-13 Thread Gabriel Meier
On Friday 13 June 2003 15:58 Elie De Brauwer wrote: > On Friday 13 June 2003 20:17, Gabriel Meier wrote: > > Hi, > > > > I solved the Problem some hours ago. I guess I checked every single lib, > > but not the directory. It was set to 666. as a user, you seem to need 7. > > I've no Idea, why it wo

Re: /bin/bash: Permission denied

2003-06-13 Thread Gabriel Meier
Hi, I solved the Problem some hours ago. I guess I checked every single lib, but not the directory. It was set to 666. as a user, you seem to need 7. I've no Idea, why it works for root without it. Anyway, thanks for all the help. Gabriel -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a

Re: /bin/bash: Permission denied

2003-06-06 Thread Dan Dofton
nything. Hmm. All the stuff you showed me looks fine. The strace doesn't have any answers obvious enough for my little brain to comprehend. But you had mentioned before that your libraries were ok? How about double checking by trying something like this : :) [EMAIL PROTECTED]:~]$ ls -

Re: /bin/bash: Permission denied

2003-06-04 Thread gabriel meier
Dan Dofton <[EMAIL PROTECTED]> schrieb am 03.06.03 16:11:13: > > On Tue, 3 Jun 2003 12:32:46 +0200 > "gabriel meier" <[EMAIL PROTECTED]> wrote: > > > > >> So login is possible at the moment only for root. > > > >> I c

Re: /bin/bash: Permission denied

2003-06-04 Thread Dan Dofton
On Tue, 3 Jun 2003 12:32:46 +0200 "gabriel meier" <[EMAIL PROTECTED]> wrote: > > >> So login is possible at the moment only for root. > > >> I checked all the user rights of / /bin /bin/bash and its dependend A few ideas come to mind: Did your non-roo

Re: /bin/bash: Permission denied

2003-06-03 Thread Lukas Ruf
* gabriel meier <[EMAIL PROTECTED]> [2003-06-03 12:40]: > > > > what is the result of > > cat /etc/shells > > ? > > debian:~# cat /etc/shells > # /etc/shells: valid login shells > /bin/ash > /bin/bash > /bin/csh > /bin/sh &

Re: /bin/bash: Permission denied

2003-06-03 Thread gabriel meier
t; > >> Hi, > >> > >> I have some strange Problems with my user login here: > >> Any time I log in with any user but root I get the following message: > >> > >> > >> Cannot execute /bin/bash: Permission denied > >

Re: /bin/bash: Permission denied

2003-06-03 Thread gabriel meier
log in with any user but root I get the following message: > > > > Cannot execute /bin/bash: Permission denied > > > > So login is possible at the moment only for root. > > I checked all the user rights of / /bin /bin/bash and its dependend libs > >

Re: /bin/bash: Permission denied

2003-06-03 Thread gabriel meier
I am subscribed to this list thanks schrieb am 02.06.03 14:54:46: > > * gabriel meier [2003-06-02 14:25]: > > > Cannot execute /bin/bash: Permission denied > > > > So login is possible at the moment only for root. I checked all > > the user r

Re: /bin/bash: Permission denied

2003-06-03 Thread gabriel meier
I am subscribed to this list thanks schrieb am 02.06.03 14:54:46: > > * gabriel meier [2003-06-02 14:25]: > > > Cannot execute /bin/bash: Permission denied > > > > So login is possible at the moment only for root. I checked all > > the user r

Re: /bin/bash: Permission denied

2003-06-02 Thread Elie De Brauwer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Monday 02 June 2003 14:01, gabriel meier wrote: > Hi, > > I have some strange Problems with my user login here: > Any time I log in with any user but root I get the following message: > > Cannot execute /bin/bash: Permission deni

Re: /bin/bash: Permission denied

2003-06-02 Thread Chris Metzler
y time I log in with any user but root I get the following message: >> >> >> Cannot execute /bin/bash: Permission denied >> >> So login is possible at the moment only for root. >> I checked all the user rights of / /bin /bin/bash and its dependend >>

Re: /bin/bash: Permission denied

2003-06-02 Thread Chris Metzler
On Mon, 2 Jun 2003 14:01:27 +0200 "gabriel meier" <[EMAIL PROTECTED]> wrote: > > Hi, > > I have some strange Problems with my user login here: > Any time I log in with any user but root I get the following message: > > Cannot execute /bin/bash: P

Re: /bin/bash: Permission denied

2003-06-02 Thread Lukas Ruf
* gabriel meier <[EMAIL PROTECTED]> [2003-06-02 14:25]: > Cannot execute /bin/bash: Permission denied > > So login is possible at the moment only for root. I checked all > the user rights of / /bin /bin/bash and its dependend libs and they > were OK. etc/passwd is

/bin/bash: Permission denied

2003-06-02 Thread gabriel meier
Hi, I have some strange Problems with my user login here: Any time I log in with any user but root I get the following message: Cannot execute /bin/bash: Permission denied So login is possible at the moment only for root. I checked all the user rights of / /bin /bin/bash and its

Re: OT: Solaris kernel boot param like init=/bin/bash?

2002-12-19 Thread Kent West
nate wrote: Kent West said: Is there a similar way to get to a shell on a broken Sun Solaris 8 system? I had to do this once, damn filesystem curroptoion totally screwed the system. I looked for such a feature but could not find one. So I booted the install cd and got a shell on that to

Re: OT: Solaris kernel boot param like init=/bin/bash?

2002-12-19 Thread nate
Kent West said: > Is there a similar way to get to a shell on a broken Sun Solaris 8 system? I had to do this once, damn filesystem curroptoion totally screwed the system. I looked for such a feature but could not find one. So I booted the install cd and got a shell on that to do the work I neede

OT: Solaris kernel boot param like init=/bin/bash?

2002-12-19 Thread Kent West
y at the LILO prompt by entering something like: linux root=/dev/hda1 init=/bin/bash Is there a similar way to get to a shell on a broken Sun Solaris 8 system? Thanks! Kent -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: #!/bin/bash

2001-04-02 Thread Bruce Sass
) > -> It makes a big difference on a slow machine, especially when > -> installing packages ({pre,post}{inst,rm} scripts are always sh). > > well, maybe not always. Maybe we should ask developers to use sh and not to > use bashisms while possible I thought it was Policy that p

Re: #!/bin/bash

2001-04-02 Thread Sean 'Shaleh' Perry
> > or just install ash and symlink sh -> ash > It makes a big difference on a slow machine, especially when > installing packages ({pre,post}{inst,rm} scripts are always sh). > > <...> >> So to this end, Require'ing ash would add to the system overhead since (I >> reckon) 98% of people would nee

Re: #!/bin/bash

2001-04-02 Thread Matus \"fantomas\" Uhlar
-> All the more reason to streamline the process... -> why should everything take more time, just because some stuff must. that's why i prefer ash -> > > that's it, i don't like scripts that "require" bash if they don't -> > > have to. -> > -> > So have you actually removed bash from your system

Re: #!/bin/bash

2001-04-02 Thread Rob Mahurin
On Sun, Apr 01, 2001 at 05:33:42PM +0200, Matus fantomas Uhlar wrote: > is it ok when acripts start with #!/bin/bash even if they shouldn't ? [...] > echo -ne "blahblah\n" > to > echo "blahblah" > > (wtf do we need the first?) It took me a second to s

Re: #!/bin/bash

2001-04-02 Thread Colin Watson
this is perfectly allowable, >and i think is even a config question on woody's ash) > >if the script DOES have a bashism then it should have #!/bin/bash so a >non-bash /bin/sh does not break it. but using #!/bin/bash for no good >reason is just lame. Yeah, it's

Re: #!/bin/bash

2001-04-01 Thread Ethan Benson
ings in pure posix that work perfectly in ash. initscripts should be plain posix shell scripts with no bashisms, and should have #!/bin/sh as the interpreter, this way you can link /bin/sh to ash without any problems. (this is perfectly allowable, and i think is even a config question on woody&

Re: #!/bin/bash

2001-04-01 Thread Bruce Sass
On Sun, 1 Apr 2001, Gavin Hamill wrote: > > -> And anyway, why would you want to insist on 'ash' ? > > > > faster, smaller etc. it could be ksh or whatever does /bin/sh point to. > > Certainly, a 100k binary vs. the 400k of bash is much tighter, and the > POSIX-compliance feature of ash is certain

Re: #!/bin/bash

2001-04-01 Thread Gavin Hamill
On Sun, 1 Apr 2001, Matus "fantomas" Uhlar wrote: > -> echo -ne "Restarting apache web server: " > > "echo -n" is enough for this and works even in ash OK, yes the -e is just for interpreting \n and friends... > -> And anyway, why would you want to insist on 'ash' ? > > faster, smaller etc. it

Re: #!/bin/bash

2001-04-01 Thread Matus \"fantomas\" Uhlar
-> > it seems apache could run with ash for example w/o problems -> > - it just needs change all -> > -> > echo -ne "blahblah\n" -> > to -> > echo "blahblah" -> > -> > (wtf do we need the first?) -> -> The first doesn't take a new line so it's possible to do this: -> -> echo -ne "Restarting apach

Re: #!/bin/bash

2001-04-01 Thread Gavin Hamill
On Sun, 1 Apr 2001, Matus "fantomas" Uhlar wrote: > it seems apache could run with ash for example w/o problems > - it just needs change all > > echo -ne "blahblah\n" > to > echo "blahblah" > > (wtf do we need the first?) The first doesn't take a new line so it's possible to do this: echo -ne "R

#!/bin/bash

2001-04-01 Thread Matus \"fantomas\" Uhlar
Hello, is it ok when acripts start with #!/bin/bash even if they shouldn't ? I found at least /etc/init.d/apache, /etc/init.d/autofs it seems apache could run with ash for example w/o problems - it just needs change all echo -ne "blahblah\n" to echo "blahblah"

Re: command substitution in a crontab with SHELL=/bin/bash

2001-02-26 Thread paolo pedaletti
Ciao Britton, > SHELL=/bin/bash > 0 8 * * * prog >/tmp/$(date +%s).extension > > and it doesn't work, the command never gets executed. Backtick maybe date is not in cron PATH, try to use /bin/date -- Paolo Pedaletti, Como, ITALYa www.fastflow.it/~paolop [EMAIL PROT

Re: command substitution in a crontab with SHELL=/bin/bash

2001-02-24 Thread Tommi Komulainen
On Fri, Feb 23, 2001 at 08:11:31PM -0900, Britton wrote: > > I am trying to do approximately this in a crontab: > > SHELL=/bin/bash > 0 8 * * * prog >/tmp/$(date +%s).extension > > Anyone have any guesses as to what might be going on here? Someone hasn't read the

Re: command substitution in a crontab with SHELL=/bin/bash

2001-02-24 Thread Sven Hoexter
On Fri, Feb 23, 2001 at 08:11:31PM -0900, Britton wrote: > > I am trying to do approximately this in a crontab: > > SHELL=/bin/bash > 0 8 * * * prog >/tmp/$(date +%s).extension > > and it doesn't work, the command never gets executed. Backtick > substitution do

Re: command substitution in a crontab with SHELL=/bin/bash

2001-02-24 Thread Oki DZ
On Fri, 23 Feb 2001, Britton wrote: > > I am trying to do approximately this in a crontab: > > SHELL=/bin/bash > 0 8 * * * prog >/tmp/$(date +%s).extension > > and it doesn't work, the command never gets executed. Backtick > substitution doesn't work eithe

command substitution in a crontab with SHELL=/bin/bash

2001-02-23 Thread Britton
I am trying to do approximately this in a crontab: SHELL=/bin/bash 0 8 * * * prog >/tmp/$(date +%s).extension and it doesn't work, the command never gets executed. Backtick substitution doesn't work either. An identical command with a fixed string in place of the $(date

Re: cannot execute /bin/bash: Permission denied

2000-02-23 Thread aphro
On Tue, 22 Feb 2000, Karl M Yerkes wrote: kmyerk >I add a user blah. blah works fine, can login, etc. . .then, after some time (minutes, hours, days) blah gets this error: kmyerk > kmyerk >cannot execute /bin/bash: Permission denied kmyerk > kmyerk >Permissions on /bin/bash are

cannot execute /bin/bash: Permission denied

2000-02-23 Thread Karl M Yerkes
I add a user blah. blah works fine, can login, etc. . .then, after some time (minutes, hours, days) blah gets this error: cannot execute /bin/bash: Permission denied Permissions on /bin/bash are 755. Has anyone had this problem? What should I do? Please, help. Send to [EMAIL PROTECTED] --Thanks

Re: /bin/bash -> /bin/sh

1999-05-26 Thread shaleh
> > On Tue, May 25, 1999 at 03:15:39PM -0400, > [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > Can you be specific and point me to what fails. if it is a matter of making > > ash posix happy, it will be done -- we have the code. Bash is just way too > > heavy for many things. > > > > You

  1   2   >