Back

Explore Courses Blog Tutorials Interview Questions
0 votes
1 view
in Big Data Hadoop & Spark by (45.3k points)
edited by
Could anybody let me know the advantages of su user to itself?

1 Answer

0 votes
by (16.8k points)

The su command is used to switch to another user, in other words change user ID during a normal login session (that is why it is sometimes referred to as switch (-) user by several Linux users). If executed without a username, for example su -, it will login as root user by default.

Welcome to Intellipaat Community. Get your technical queries answered by top developers!

28.4k questions

29.7k answers

500 comments

94.1k users

Browse Categories

...