Monday Aug 18, 2008

Opensolaris 2008.05 root user

Its generally good practice to use non-root user and when you require certain commands to be run as root you can use pfexec command. Pfexec is somewhat similar to sudo but much powerful than sudo.

$pfexec bash

When you install OpenSolaris 2008.05 if you specify username during installation, then it permits login only for non-root user. Run the following command so that root can login as a user.

#rolemod -K type=normal root

For more info on this check out this.

About

pradhap

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today