From: Quy NGUYEN DAI (Quy.NguyenDai@gdtech.net)
Date: Wed Feb 05 2003 - 04:34:26 EST
Eef Hartman wrote:
> In a message to me Quy NGUYEN DAI wrote:
>
>>Under HP-UX, be default, the root homedir is "/". It's possible to change to
>>"/root" (like Linux)? Any risk of security?
>
>
> Yes (it's possible) and no (no problems with security).
> We've done this a long time ago.
>
> You must make sure, though, that /root is part of the ROOT (/) file system,
> as in single user level no other file systems are mounted automatic.
> And of course you'll have to move all "root user files" from / to /root (that
> is: almost all files in / that aren't subdirs, like all .* files).
> Especially .profile and any files (like .dtprofile) you need to login into
> the graphics environment.
>
> Just change the dir in the root entry of /etc/passwd to /root and the next time
> you login (or su) you will get as home dir.
>
> This is mine (HP-UX 10.20, secure system):
> root:x:0:1:Superuser TA4:/root:/sbin/sh
>
Thank you very much for all your help:
Guo, Hang
Brett Geer
Baran YURDAGUL
Kevin Epstein
Frank Bonnet
Erik Platzbecker
Eef Hartman
It works well!
Thanks again and have a nice day,
-- Quy NGUYEN DAI GDTech S.A. Parc Scientifique du Sart-Tilman Spatiopôle - Rue des Chasseurs-Ardennais B-4031 Angleur, BELGIQUE Tel: +32-(0)4-367.87.11 -- ---> Please post QUESTIONS and SUMMARIES only!! <--- To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl Name: hpux-admin@dutchworks.nl Owner: owner-hpux-admin@dutchworks.nl Archives: ftp.dutchworks.nl:/pub/digests/hpux-admin (FTP, browse only) http://www.dutchworks.nl/htbin/hpsysadmin (Web, browse & search)
This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:25 EDT