Computing.Net > Forums > Solaris > Permission on /dev/console

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Permission on /dev/console

Reply to Message Icon

Name: takeshi98rr
Date: April 21, 2005 at 21:38:18 Pacific
OS: Solaris 9
CPU/Ram: UltraSPARC3 / 1GB
Comment:

The default permission for /dev/console (which is linked to /devices/pseudo/cn@0:console)
is 620 (crw--w---). What I'm trying to do is to login to CDE as user1 and start a shell
script such as dbstart for ORACLE as user2. When doing so, I want to output the messages
on the console window so I have redirected the output of the shell script to /dev/console.
( # $ORACLE_HOME/bin/dbstart > /dev/console 2&>1 & )
But because the permission for /dev/console is denied for user2, the action won't be
permitted. To solve this, I have changed the permission of /devices/pseudo/cn@0:console
to 666 (crw-rw-rw).
This has solved the problem.

But since I have changed the default setting which I presume won't be changed unlikely,
would there be any major problem I should worry about by doing this ?
Or maybe I shouldn't have done this in the first place ?

Any advice will be appreciated.

Thanks,
FB



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Solaris Forum Home


Sponsored links

Ads by Google


Results for: Permission on /dev/console

Solaris 7 not on system console www.computing.net/answers/solaris/solaris-7-not-on-system-console/257.html

can't change vfstab file www.computing.net/answers/solaris/cant-change-vfstab-file/4053.html

Solais 8 Patch Cluster issue www.computing.net/answers/solaris/solais-8-patch-cluster-issue/4032.html