Change UID on solaris2.5.1

Change UID on solaris2.5.1

Post by Feng Qi » Thu, 02 Jan 1997 04:00:00



Hello, Happy New Year!!
If I want change a User's UID, what should I change, passwd file,
anything else? SPARCStation 5 with solaris2.5.1.
Thanks!!

Feng Qiu

 
 
 

Change UID on solaris2.5.1

Post by Mark Wagne » Thu, 02 Jan 1997 04:00:00



> Hello, Happy New Year!!
> If I want change a User's UID, what should I change, passwd file,
> anything else? SPARCStation 5 with solaris2.5.1.
> Thanks!!

> Feng Qiu

If you want the user to be able to access his files then you need to
chmown all of his files too.

Try

find / -user <old_uid> -exec chown <new_user_name> {} \;

as root.

--

-------------------------------------------------------------------
The internet protocol does not provide a reliable communication
facility. There are no acknowledgments either end-to-end or
hop-by-hop. There is no error control for data...There are no
retransmissions. There is no flow control. - RFC 791

 
 
 

Change UID on solaris2.5.1

Post by Rickard Westm » Sat, 04 Jan 1997 04:00:00




>> Hello, Happy New Year!!
>> If I want change a User's UID, what should I change, passwd file,
>> anything else? SPARCStation 5 with solaris2.5.1.
>> Thanks!!

>> Feng Qiu

>If you want the user to be able to access his files then you need to
>chmown all of his files too.

>Try

>find / -user <old_uid> -exec chown <new_user_name> {} \;

>as root.

Note that you would probably want to use the -h option of chown.
Otherwise, if the user has a symbolic link that points to
e.g. /etc/passwd, the ownership of /etc/passwd will be changed
instead of the ownership of the link.

--
Rickard Westman                   |   "Beware of the panacea peddlers:
Dept. of Computer Science         |    Just because you wind up *
Link?ping University              |    doesn't make you an emperor."  
Sweden                            |              - Michael A Padlipsky

 
 
 

1. Solaris2.6 TCP/IP faces Solaris2.5.1.

Hi,All.

I need an advice on the following:
I'm porting a tcp/ip client server application from Solaris2.5.1 to
Solaris2.6
On Solaris2.6 I'm getting different sockets behavior than on
Solaris2.5.1 , For example
accept function failed, or connection refused.

As there any change in the TCP/IP layer between those two operating
systems ?

Any help/suggestions will be appreciate
Eyal.

--
Eyal Haviv.
Product Manager.
Computer Associates.
Phone : +972-4-9592101.

2. liblpp.a is not an archive file ???

3. Can a user of solaris2.5.1 can change his username himself?

4. Changes in signals (kernel > 2.2.1) ?

5. Losing space from Solaris2.4 to Solaris2.5.1?

6. Digital Alpha OSF1 4.0 and Loopback interface

7. Does anyone have ssh binaries for Solaris2.5.1 or Solaris2.6?

8. IDE patches status

9. DNS search between Solaris2.5.1 and Solaris2.6

10. Solaris2.3 - Solaris2.5.1 captive accounts

11. MarkVision Cannot create Queue on Solaris2.5.1 (spark20)

12. Busted GNU compilers for Solaris2.5.1 box

13. Screen shots in Solaris2.5.1