> On Sep 8, 2021, at 02:24, jim hook wrote:
> ...
> ex.: "unset cd" would help, but any solution in general?
I alias ‘ls’ to my preferred args. Sometimes I don’t want those. In ksh, I
just use \ls to not use the alias.
I confirmed \cd will use the builtin (at least on ksh) with:
$cd() {
>
> Date: Wed, 8 Sep 2021 11:24:18 +0200
> From: jim hook
> Thinking of that home dirs could be on a shared storage, that can be
> accessed by others and maliciously modify the ".profile", etc. files
> of the targeted user.
>
> ex.: "unset cd" would help, but any solution in general?
directory p
> Date: Wed, 8 Sep 2021 11:24:18 +0200
> From: jim hook
> Thinking of that home dirs could be on a shared storage, that can be
> accessed by others and maliciously modify the ".profile", etc. files
> of the targeted user.
>
> ex.: "unset cd" would help, but any solution in general?
> Date
> Date: Wed, 8 Sep 2021 11:24:18 +0200
> From: jim hook
> Thinking of that home dirs could be on a shared storage, that can be
> accessed by others and maliciously modify the ".profile", etc. files
> of the targeted user.
>
> ex.: "unset cd" would help, but any solution in general?
>
On Wed, Sep 08, 2021 at 11:24:18AM +0200, jim hook wrote:
> test$ cd
> rmplayer
> test$
> test$ type cd
> cd is a function
> test$
> test$ tail -4 .profile
> cd()
> {
> echo rmplayer
> }
> test$
> test$ uname -mrs
> OpenBSD 6.9 amd64
> test$
>
> Thinking of that home dirs could be on a shared stor
Hi Jim,
jim hook wrote on Wed, Sep 08, 2021 at 11:24:18AM +0200:
> test$ cd
> rmplayer
> test$
> test$ type cd
> cd is a function
> test$
> test$ tail -4 .profile
> cd()
> {
> echo rmplayer
> }
> test$
> test$ uname -mrs
> OpenBSD 6.9 amd64
> test$
Those are useful features. I doubt you will fi
test$ cd
rmplayer
test$
test$ type cd
cd is a function
test$
test$ tail -4 .profile
cd()
{
echo rmplayer
}
test$
test$ uname -mrs
OpenBSD 6.9 amd64
test$
Thinking of that home dirs could be on a shared storage, that can be accessed
by others and maliciously modify the ".profile", etc. files of th
7 matches
Mail list logo