Sponsored Content
Full Discussion: SunOS - root's .profile
Top Forums UNIX for Dummies Questions & Answers SunOS - root's .profile Post 39142 by RTM on Thursday 7th of August 2003 02:20:33 PM
Old 08-07-2003
Yes, you can - set the ownership and file persmissions so 'regular' users can not change it.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

SunOS version 5.7 root password recovery?

I just received a Sun microsystem ultra 5 for a auction, it is running sunOS version 5.7, when it boots it asks for user login and password, I dont have either, is there a way to login in as root user with out the password or is there a way to recover the password so I can get in to my system? (1 Reply)
Discussion started by: mscav219
1 Replies

2. Solaris

root rlogin on sunos 5.9

Hi folks, Lately, i was asked to install some software on a sunos 5.9. The problem is that i cannot setup the r services for the installation to work properly : rlogin/rsh root without password. It keeps on bumping me login incorrect when i try to rlogin/rsh it with root ... I wonder why... (3 Replies)
Discussion started by: andryk
3 Replies

3. Solaris

.profile for root ?

Hi friends, On a Solaris system is the .profile executed for the user root also as it is for any normal user ? if i have to change the PATH variable can i add it to the .profile? and by default ther .profile is not found in the / directory. i can see it in /etc as /etc/profile. Should i... (1 Reply)
Discussion started by: sveera
1 Replies

4. Solaris

sunOS 4.x.x root login

I have an old (I mean "dinosaur old") server that is running SunOS 4.1xxx. I need to allow root login ONLY on the console. I've looked in /etc/default for the login file for the "console=/dev/console" parameter is, but there's no 'default" dir in /etc. Can someone help? Thanks (2 Replies)
Discussion started by: antalexi
2 Replies

5. UNIX for Dummies Questions & Answers

How to change root's .profile settings

As a regular (non-root) user on Unix servers I'm accustomed to changing my .profile file to set paths that I frequently use, etc. I am trying to learn unix and set up a test server running SunOS 5.8. When I login as root I don't see a .profile file that belongs to root wherein I could change the... (1 Reply)
Discussion started by: FredSmith
1 Replies

6. Solaris

sshd (openssh) on SunOS without root privileges

Hi, I've just managed to install openssh in my home directory on a server I have access to by using --prefix=$HOME/local after ./configure. Another thing I was having trouble with without root access was privilege separation, so I disabled that in my sshd_config. However, when I run... (10 Replies)
Discussion started by: sayeo
10 Replies

7. Solaris

trying to add .profile for root

I am trying to add a .profile for root I cd to / do vi .profile and get /var/tmp/ExGXaaqa Read only file system... What does this mean? (4 Replies)
Discussion started by: liven
4 Replies

8. AIX

Ho to copy root profile?

Does anybody know how to copy/mirror root profile in AIX 5.2? (1 Reply)
Discussion started by: fraydey
1 Replies

9. AIX

aix 6.1 root .profile not found

hello all i just installed my 1rst 6.1 machine and it's working fine but i can't find the root .profile ????? can any one help BEst Regards (1 Reply)
Discussion started by: islam.said
1 Replies

10. Solaris

.profile initial values in hp ux vs SunOS

Hi, Does .profile file have any intial values by default. I m presently migrating an application from HP UX to SUN OS. Please share the precautions needs to be taken during migration of .profile file. Thanks (1 Reply)
Discussion started by: nag_sathi
1 Replies
PTS_RENAME(1)						       AFS Command Reference						     PTS_RENAME(1)

NAME
pts_rename - Changes the name of a Protection Database entry SYNOPSIS
pts rename -oldname <old name> -newname <new name> [-cell <cell name>] [-noauth] [-localauth] [-force] [-help] pts ren -o <old name> -ne <new name> [-c <cell name>] [-no] [-l] [-f] [-h] DESCRIPTION
The pts rename command changes the name of the user, machine, or group entry specified by the -oldname argument to the name specified by the -newname argument. It is not possible to change a user or machine entry's name to look like a regular group entry's name (have a colon in it). Members of the system:administrators group can change a regular group name into a prefix-less name and vice versa. When changing a prefix- less group name into a regular group name or a regular group name to another regular group name, the owner field of the new name (the part before the colon) must correctly reflect the group's owner. Changing a regular group's owner with the pts chown command automatically changes the owner field (the part before the colon) of the group's name, but does not change the owner field of any groups owned by the group. Use this command to rename those groups to a form that accurately reflects their ownership. CAUTIONS
By convention, many aspects of an AFS user account have the same name as the user's Protection Database entry, including the Authentication Database entry, volume, and mount point. When using this command to change a user name, also change the names of all related entities to maintain consistency. For instructions, see the chapter on user accounts in the OpenAFS Administration Guide. OPTIONS
-oldname <old name> Specifies the current full name of the entry. -newname <new name> Specifies the new full name for the entry. For regular groups, the owner field (the part before the colon) of the new name must reflect the actual ownership of the group. -cell <cell name> Names the cell in which to run the command. For more details, see pts(1). -force Enables the command to continue executing as far as possible when errors or other problems occur, rather than halting execution at the first error. -help Prints the online help for this command. All other valid options are ignored. -localauth Constructs a server ticket using a key from the local /etc/openafs/server/KeyFile file. Do not combine this flag with the -cell or -noauth options. For more details, see pts(1). -noauth Assigns the unprivileged identity anonymous to the issuer. For more details, see pts(1). EXAMPLES
The following example changes the name of the group staff, owned by the privileged user "admin", to "admin:staff": % pts rename -oldname staff -newname admin:staff The following example changes the name of the group "admin:finance" to the group "finance". The issuer must belong to the system:administrators group. % pts rename -oldname admin:finance -newname finance PRIVILEGE REQUIRED
To change a regular group name to a prefix-less name or vice versa, or to change a user or machine entry's name, the issuer must belong to the system:administrators group. To change a group name to a new name of the same type (regular or prefix-less), the issuer must own the group or belong to the system:administrators group. SEE ALSO
pts(1), pts_chown(1) COPYRIGHT
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved. This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell. OpenAFS 2014-04-08 PTS_RENAME(1)
All times are GMT -4. The time now is 01:51 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy