Is the '-' Necessary When Using the su Command?

(Doc ID 449884.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Universal Content Management - Version: 7.1.1 to 7.1.1 - Release: Stellent to Stellent
Information in this document applies to any platform.
Product: Content Server
Version: 7.1.1

Symptoms

In a Linux based system, we are going to start using sudo and cryptocards. We have installed our stellent products with a user named "stellent". When attempting to su to the stellent user, should we use "su stellent" or "su - stellent"?

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms