Visit Our UNIX and Linux User Community

Operating Systems Solaris How to start CDE for non root user on Solaris 10 Post 302298119 by TonyFullerMalv on Monday 16th of March 2009 06:37:47 PM
Old 03-16-2009
Re: How to start CDE for non root user on Solaris 10

CDE will not start unless your user has a home directory so if your user is to have a local home directory make it as follows:
# mkdir /export/home/<username>
# chown <username> /export/home/<username>

Then ensure that the user's passwd entry points to /export/home/<username> for their home directory.

Then test it by doing:
# su - <username>
$ pwd
Ensure the directory response is now the user's home directory.

CDE is also particular about being able to resolve the machine's hostname so make sure /etc/hosts is a link to /etc/inet/hosts, that /etc/inet/hosts is chmodded to 644 and contains a line that gives the hostname and its IP address. Confirm that the hostname in /etc/nodename matches the hostname in /etc/inet/hosts and if you are running Solaris 10 ensure that /etc/inet/ipnodes is a link to /etc/inet/hosts (why did Sun introduce yet another "hosts" file called ipnodes?)


Tony Fuller
Test Your Knowledge in Computers #497
Difficulty: Medium
A computer compiler or interpreter is just as smart as a human.
True or False?

10 More Discussions You Might Find Interesting

1. HP-UX

CDE login Problem for root user only

Hi All, I m facing a problem that, i m not able to login as root user on cde on hp-ux 11.00, i can login as root on commond line as well as telnet. Thanks in Advance for help. Regards, Awadhesh (1 Reply)
Discussion started by: Awadhesh
1 Replies

2. HP-UX

root login problem in cde

Hi All, I m facing a problem that, i m not able to login as root user on cde on hp-ux 11.00, i can login as root on commond line as well as telnet. Thanks in Advance for help. Regards, Awadhesh (2 Replies)
Discussion started by: Awadhesh
2 Replies

3. AIX

Start CDE using Reflection on AIx

Hello. I want to know how to start CDE on AIX, to export the console under reflection. What commands are necesary to run on AIX to start CDE and after start It export the console using Reflection X. Someboy know how to do that. Regards (1 Reply)
Discussion started by: hmoday
1 Replies

4. Solaris

Permissions for the root user on Solaris 10

Hi I have a doubt, here if a file does not have the write permissions to the root user my script is going to write the data into that file. when i executed the script as root user. Is it correct ... ? (4 Replies)
Discussion started by: Shreedhar Naik
4 Replies

5. HP-UX

Help with CDE Root Login

Dear Forum, I had this problem initially with HPUX 11.23, all users including root could not login via CDE or telnet. Then after some workarounds, it resolved by resetting root password via console login. After enabling back all users to login normally (via CDE or telnet), only root can not... (4 Replies)
Discussion started by: irda
4 Replies

6. Solaris

Non-root user access to privileged ports-Solaris 8

Please let me know how to setup a non-root user to be able to access a privileged port (<1024) on Solaris 8. I am currently running tomcat as "tomcat" user and I get the following error during to start up: SEVERE: Error initializing endpoint Permission denied<null>:443 (5 Replies)
Discussion started by: pingmeback
5 Replies

7. HP-UX

Start SAM in TUI from CDE session

how can i start sam in TUI mode from a CDE session. i'm using hp-ux 11iv3 i tried to start SAM from a terminal from CDE session but each time i try to start it System Managment Homepage starts , so i telneted to server from a pc to start sam in TUI mode is there any other way to set my SAM to... (2 Replies)
Discussion started by:
2 Replies

8. UNIX Desktop Questions & Answers

How to migrate Solaris 10 CDE config to HP-UX CDE.

Hello, Do you guys by any chance know what is the best (if any ) way to move CDE configuration from a SOLARIS 10 machine to HP-UX? Just the config (actions, text files etc). Thanks in advance! (0 Replies)
Discussion started by: binary0x01
0 Replies

9. Solaris

Enable FTP for root user in Solaris 10

I am not able to get ftp working for Solaris 10 for root user. I am getting login failed error. 331 Password required for root. Password: 530 Login incorrect. Login failed. Tried following things already. 1. SFTP works ok, still would like to know why FTP is not working (curious). 2.... (5 Replies)
Discussion started by: webkid
5 Replies

10. Solaris

Solaris 10 - 'ls' green for root user only

Welcome to all. Have an issue and looking for help so hope someone is able to give me some clues. I prepared some shell scripts with coloured output to help other guys to have more automated task. Not sure if I did this but now whenever I use 'ls' command for root user every output in... (29 Replies)
Discussion started by: TiedCone
29 Replies
HOSTS.EQUIV(5)						      BSD File Formats Manual						    HOSTS.EQUIV(5)

hosts.equiv, .rhosts -- trusted remote host and user name data base DESCRIPTION
The hosts.equiv and .rhosts files contain information regarding trusted hosts and users on the network. For each host a single line should be present with the following information: simple hostname [username] or the more verbose [+-][hostname|@netgroup] [[+-][username|@netgroup]] A ``@'' indicates a host by netgroup or user by netgroup. A single ``+'' matches all hosts or users. A host name with a leading ``-'' will reject all matching hosts and all their users. A user name with leading ``-'' will reject all matching users from matching hosts. Items are separated by any number of blanks and/or tab characters. A ``#'' indicates the beginning of a comment; characters up to the end of the line are not interpreted by routines which search the file. Host names are specified in the conventional Internet DNS dotted-domains ``.'' (dot) notation using the inet_addr(3) routine from the Inter- net address manipulation library, inet(3). Host names may contain any printable character other than a field delimiter, newline, or comment character. For security reasons, a user's .rhosts file will be ignored if it is not a regular file, or if it is not owned by the user, or if it is writable by anyone other than the user. FILES
/etc/hosts.equiv The hosts.equiv file resides in /etc. $HOME/.rhosts .rhosts file resides in $HOME. EXAMPLES foo Trust user ``foo'' from host ``''. +@allclient Trust all hosts from netgroup ``allclient''. +@allclient -@dau Trust all hosts from netgroup ``allclient'' and their users except users from netgroup ``dau''. SEE ALSO
rcp(1), rlogin(1), rsh(1), gethostbyname(3), inet(3), innetgr(3), ruserok(3), netgroup(5), ifconfig(8), yp(8) BUGS
This manual page is incomplete. For more information read the source in src/lib/libc/net/rcmd.c or the SunOS manual page. BSD
December 25, 2013 BSD

Featured Tech Videos

All times are GMT -4. The time now is 09:20 AM.
Unix & Linux Forums Content Copyright 1993-2021. All Rights Reserved.
Privacy Policy