Can you explain what you are trying to do?

you are creating a huge security hole with sudo because once the user is logged 
into UniVerse as root they can shell out, as root, and do whatever they would 
like to as root.

If you want to have a user that can perform UniVerse admin role, check out the 
uniadmin user.  I also believe U2 is making this more functional.

Tom
RATEX Business Solutions.

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of John Rodgers
Sent: Friday, April 02, 2010 8:08 AM
To: U2 Users List
Subject: [U2] sudo for dummies

I have a problem with a developer login where we want to provide 'root'
privileges on our DEV box.

 

HP-UX B.11.11 U 9000/800 (tl)

UniVerse 9.6 in Pick flavor

 

 

This is done by changing the login profile to run something this:

 

exec /usr/local.bin/sudo /usr/opt/uv/bin/uv

 

This gives us 'root' access in UniVerse.

 

For one user this is not working but I cannot spot any difference in his
setup from anyone else's.

 

The exec sudo (above) is changing the user id to root.

For our other users the @LOGNAME in UniVerse does not change.

Our login process relies on the @LOGNAME to perform some other checks
which are now failing for this user.

 

Can anyone explain why the user.id would be changed by 'sudo'.

Is there some setting or switch for sudo where this is controlled?

 

Alternatively, is there a UniVerse option where the User Name might be
somehow reset? (really clutching at straws here.)

 

 

Cheers

 

JR

_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users
_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to