Product model ACS6000 fw v 3.1.0.13 Resolution: Use “sudo” command, functionality is identical, albeit there are some technicalities. >> “sudo su” instead of “su” The command “sudo” has been preferred over “su”, as root user has control over who can get su privileges. It also does not require sudoers to know root password to become a super-user. All sudoers have to be granted privileges by root, in the “sudoers” file. Of course a sudoer may be given (ALL) privileges as root. = = = = = = = = example in my ACS6k = = = = = = = = = user “test1” is a sudoer = = = = = = ACS6000 3.1.0.13-20151218 ACS6008-1503207890 /dev/ttyS0 login: test1 Password: WARNING: Improper use of shell commands could lead to data loss, the deletion of important system files or other unexpected result. Please double-check your syntax when typing shell commands. [test1@ACS6008-1503207890 ~]$ sudo su << use this command to su Password: << system requests user “test1” password [test1@ACS6008-1503207890 /home/test1]# << successful sudo su = = = = = = = = = supplemental info = = = = = = = In order for a user to be able to "sudo", that user has to be one "sudoer". To be a sudoer, the root user has to grant him that privilege, which is done by including the user in the "sudoers" file. Follow the steps to accomplish that: 1. login as root and run "visudo", this will open the file "sudoers" 2. enter user privileges, in the example below the user "test1" will have the same privileges as "root". ## User privilege specification ## root ALL=(ALL) ALL test1 ALL=(ALL) ALL ## 3. save the file, the privileges will be immediately active. = = = = = = = = = = = = = = = = = = = = =
↧