1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
|
<br><br><div class="gmail_quote">On Mon, Jun 11, 2012 at 3:28 PM, Len Lawrence <span dir="ltr"><<a href="mailto:tarazed25@gmail.com" target="_blank">tarazed25@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
On 11/06/12 13:58, Alejandro López wrote:
<blockquote type="cite"><br>
<br>
<div class="gmail_quote"><div><div class="h5">On Mon, Jun 11, 2012 at 2:30 PM, Len
Lawrence <span dir="ltr"><<a href="mailto:tarazed25@gmail.com" target="_blank">tarazed25@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 11/06/12 12:28, Doug Laidlaw wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
You say that the permissions are correct, but do they
include execute<br>
permissions? The prompt difference may be simply that
root's prompt is<br>
no longer the same as a user's prompt. It is set by a
config file for<br>
each user. You can see the code for it by typing "echo
$PS1" In my<br>
case, that gives "[\u@\h \W]\$" The \h puts in the
hostname. You can<br>
change it for the current session by typing at the user
prompt:<br>
<br>
PS1="[\u@\h \W]\$"<br>
<br>
You can make that permanent by putting it in your
.bash_profile, where<br>
it should override the other at your next login, but really,
it is only<br>
a workaround.<br>
<br>
With so many issues, I would do a full reinstall, but more
knowledgeable<br>
people tell me it is the easy way out.<br>
<br>
HTH,<br>
<br>
Doug.<br>
</blockquote>
Yes, all the commands have execute permission. I have been
using my local bin directory for years and I have never <br>
</blockquote></div></div></div></blockquote></div></blockquote><div>snipped <br></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000">
<blockquote type="cite"><div class="gmail_quote"><div><div class="h5"><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">As you say, a reinstall looks like the best way out. More
knowledgeable people would probably know just where to look
for the root of the problem(s) but even after 21 years
experience of Unix and Linux I know next to nothing about
access and security policies.<br>
</blockquote>
</div></div><div><br>
<br>
Maybe it was somehow mounted with the -noexec flag?<br>
<br>
Alejandro.<br>
<br>
</div>
</div>
<br>
</blockquote>
mtab contains this entry:<br>
<br>
/dev/sda6 /home ext4
rw,nosuid,nodev,noexec,relatime,user_xattr,barrier=1,data=ordered 0
0<br>
<br>
fstab had:<br>
# Entry for /dev/sda6 :<br>
UUID=341956e4-fddb-45a6-a191-4c912328ec7a /home ext4 user,defaults 1
2<br>
none /proc proc defaults 0 0<br>
<br>
I have removed the "user," because it does not tally with my other
mga2 workstation.<br>
That does not have noexec against /home.<br>
<br>
About to reboot.<br>
<br>
Thanks for the pointer.<br>
<br></div></blockquote><div>Back in business as far as local bin files are concerned and root and lcl quote belexeuli in the prompt. However, root cannot access the gui so tools like mcc are inaccessible. I need to clobber autologin. Is there a command line solution for that? I would guess that there is a file somewhere in /etc with AUTOLOGIN=1.<br>
<br>Len<br> <br></div></div><br>
|