Operating System - HP-UX
1748017 Members
3524 Online
108757 Solutions
New Discussion юеВ

Re: Create UNIX user with restrictions

 
Khurram Khan_1
Advisor

Create UNIX user with restrictions

HI,

Would like to know how to create a UNIX user, who I only want to use omniback and shouldn't be bale to remove, delete, copy or anything else apart from logon to the system.

Regards

Khurram
26 REPLIES 26
Michael Albrecht
New Member

Re: Create UNIX user with restrictions

Hi ,

create a user with restricted shell
/bin/rsh

make a link in users home dir to Omniback start script xomni

Hope it helps
Michael
In pepperland all things are possible
Khurram Khan_1
Advisor

Re: Create UNIX user with restrictions

Hi,

Do you mind listing the commands step by step, thanks.


Regards

Khurram
Sukant Naik
Trusted Contributor

Re: Create UNIX user with restrictions

Hi Khurram,

Do you want the user to just run the xomni

............
/opt/omni/bin/xomni
exit

This will just invoke the xomni whenever he logins. The moment he closes the xomni, the exit will be executed and he will be logged out of the session.

Can anybody in the forum tell me, what are the threats which I will face with this...I mean can a user go to the shell prompt in any way.

- Sukant

Regards,

Sukant
Who dares he wins
Sukant Naik
Trusted Contributor

Re: Create UNIX user with restrictions

Hi Khurram,

Do you want the user to just run the xomni

............
/opt/omni/bin/xomni
exit

This will just invoke the xomni whenever he logins. The moment he closes the xomni, the exit will be executed and he will be logged out of the session.

Can anybody in the forum tell me, what are the threats which I will face with this...I mean can a user go to the shell prompt in any way.

- Sukant

Who dares he wins
Sukant Naik
Trusted Contributor

Re: Create UNIX user with restrictions

Sorry for the incomplete answer which I sent earlier.

You need to add the entry in the .profile of that user.

- Sukant
Who dares he wins
Khurram Khan_1
Advisor

Re: Create UNIX user with restrictions

Hi,

The users will log into Omniback using Reflections, which means they log into unix first and then type xomni&. So need to make sure when they log into UNIX, they should have very restricted permissions to do anything at all apart from type in the command xomni and not be able to move, copy or delete anything.

Regards

Khurram
hpuxrox
Respected Contributor

Re: Create UNIX user with restrictions


ps -ef | grep X | grep -v grep | awk '{print $2}' | xargs kill -HUP

hpuxrox
Respected Contributor

Re: Create UNIX user with restrictions

Please disreguard my last post. I does't apply to this forum thread.

Thanks,
Tony Contratto
Respected Contributor

Re: Create UNIX user with restrictions

Hi Khurram,

I'm not sure about Reflection but with Exceed you can create a session that only starts a single specific X application. You may want to look into whether or not Reflection has this type of capability.

Tony
got root?