User access on Solaris


 
Thread Tools Search this Thread
Operating Systems Solaris User access on Solaris
# 1  
Old 10-05-2010
User access on Solaris

Hi There

I am having trouble in solving a scenario. We have some test systems on the network where users can login as themselves. These systems are connected to the LDAP server and authentication happens without any issues. These systems are used to create flars which are used to jumpstart other systems which are standalone. When users login to the test systems and create the flars, the files under the flars are created so that the owner of the files are the individual users who create the flars. When this is used to jumpstart the standalone systems, the files are copied likewise. However, since the standalone machines are not connected to LDAP and have not remnants of the users in the /etc/shadow and /etc/passwd file, the ownership of the files are screwed.
Is there a way in which this can be avoided? I want the files in the standalone machines, when installed, to be owned by root as it would be for an installation from a CD/DVD. I can't give root access to the test machines to the users, as this is a network wide root account. I can alter the /etc/shadow and /etc/passwd files but this will be a long process as there are a large number of users and a large number of systems. The standalone systems are supposed to replicate customer environment and thus any change to that will not be feasible either. In the flarcreation process, which is managed by another team, I would have thought that there would be a tar and/or a cpio command which can be modified so that the files created have a pre specified ownership. But I am told that is not the case. One of the files where the problem is pronounced is the /etc/profile and apparently it is not created during the flarcreation.Btw, the flarcreation process happens through a shell script.I can create a user which all the users login as and then perform the flarcreate process and I can create the account also on the standalone machines. However, this will not solve the problem as the production customer sites will not have the new account. Is there a way to give users, belonging to a particular group, the same ownership privileges as root, for files, so that when they are transferred to the standalone systems, they have the ownership of root user and not that of the user who created those files.
I am a bit confused by this. Any help will be greatly appreciated.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Need help about user access

Hi frds, I have got a script restart.sh that kills and restarts a process. This scripts runs under a user called USER1 who is a normal user. Now my requirement is that i got other user named USER2 who should be able to run that script as USER1 as we dont want to share the password of user1 we... (2 Replies)
Discussion started by: phanidhar6039
2 Replies

2. UNIX for Dummies Questions & Answers

Restrict user access.

Hi All, How can we restrict a particular user access to a particular shell in solaris 10. Thanks in Advance. (5 Replies)
Discussion started by: rama krishna
5 Replies

3. Shell Programming and Scripting

Removing user access using user id

I have multiple .prm files that contain user ID's. The .prm files reside in multiple directories that allow users access to different areas of the system. (see below) current directory /apps/fourgen/accounting/menu drwxrwxrwx 16 phil infotech 512 Sep 7 2002 apmenu... (8 Replies)
Discussion started by: jamba1
8 Replies

4. AIX

sudo user access

I have installed sudo on AIX 6100-04 and want to know how do I set it up for a user to be able to run only some commands? I want to give the user the rights to only cd to certain directories and run the ls command to name a few? Are there any issues with running sudo when the user is forced to... (2 Replies)
Discussion started by: daveisme
2 Replies

5. AIX

Limit user access

We have gotten an application that will read and display logs in a report format. The application need a user name and password to access the AIX servers where the logs reside. My problem is the logs are in a few different file systems on the server. Is there any way to lock the user to only the... (1 Reply)
Discussion started by: daveisme
1 Replies

6. AIX

User access

Is there any way I can restrict a user to 1 directory when logging in but give the access to another directory? For example restrict the user to /home/user at login but also allow then to access /opt/data/user. (1 Reply)
Discussion started by: daveisme
1 Replies

7. 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 java.net.BindException: Permission denied<null>:443 (5 Replies)
Discussion started by: pingmeback
5 Replies

8. Solaris

create user with RWX access to a specific directory in Solaris 10

I need to create a user account for a developer that will allow him rwx access to all resources in a directory. How can I do that? Thanks (5 Replies)
Discussion started by: gsander
5 Replies

9. Red Hat

New RH User - Access Denied

Hi, We were just recently given a new VM instance with Red Hat linux. The only user account that can log in successfully is the root account. I made sure that the user z021407 has access to their directory and the account can read the home directory, but I can't log in with the new account... (2 Replies)
Discussion started by: edrichard
2 Replies

10. UNIX for Advanced & Expert Users

user has access only to one dir

Hello i want to ask how can i let a newly created user to access only one directory and not any other directory at all.: (1 Reply)
Discussion started by: learn82
1 Replies
Login or Register to Ask a Question