Anonymous_User Absent Member.
Absent Member.
433 views

set -o remote ?


HI
on NPUM Admin guide section 5.2.4 [using pcksh for complete session
control], it provide a setting "set -o remote", but when set in user's
..profile...when user login , show bash:set: remote invalid option name.
I need set it in /etc/profile.pcksh...but seem no any preveliged right
(like I try to perform /sbin/yast...it show not root)....

when I perform set -o, it show much item and their status now.


wyldkao


--
wyldkao
------------------------------------------------------------------------
wyldkao's Profile: https://forums.netiq.com/member.php?userid=1688
View this thread: https://forums.netiq.com/showthread.php?t=49152

0 Likes
2 Replies
Anonymous_User Absent Member.
Absent Member.

Re: set -o remote ?


Hi
when I modify .profile or .profile.pcksh...I find these mark
message , a setting show "set +o remote", so I do know which symbol
(-/+) I should use ?

wyldkao


--
wyldkao
------------------------------------------------------------------------
wyldkao's Profile: https://forums.netiq.com/member.php?userid=1688
View this thread: https://forums.netiq.com/showthread.php?t=49152

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: set -o remote ?


Why are you wanting to use 'set -o remote'? When this is set, EVERY
command that is NOT builtin is going to go through Command Control as if
you had run the command 'usrun command' or for example 'usrun ls'.

A bit overkill if you ask me. If you set "set -o remote" you will have
to make rules to accept commands like 'ls' and 'date' and 'whoami' etc.


IMHO, if you don't trust someone to have a privileged shell as root,
then don't give them a privileged shell as root. Instead of giving them
a full shell as root, grant them specific commands they use with
'usrun'.

- Brett


--
deni
------------------------------------------------------------------------
deni's Profile: https://forums.netiq.com/member.php?userid=1793
View this thread: https://forums.netiq.com/showthread.php?t=49152

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.